What is a Quanta Tag (qtag)?

Every "piece" of your application/website, in Quanta, is put in place through a Quanta Tag (qTag)

Qtags are an unique feature of Quanta, that is neither markup or markdown.

A qTag is a simple tag structured like this:


You can place qTags everywhere you want: in templates, in the index.html file, inside your node's metadata (body, etc.)...

The beautiful thing about qTags, is that they minimize to extreme levels your need to write PHP, HTML, CSS, JS code when building a website or application. 

In most cases, you'll actually just write qTags... and nothing else!

How does a qTag work

Given our example structure:

📂  fruits
  • 📁  orange
    • 📁  banana
      • 📁  apple

        Imagine you want to create a view showing all sub-folders of the folder "fruits", as simple links.

        You would just have to write this qTag:


        ...to obtain a list of linked sub-nodes of fruits, as in the example below:

        Each qTag supports attributes, that provide the qTag information about how it should behave, and a target, that tells the qTag which information to use.


        This would display a "blog" view of the fruits folder, sorted by time... and this blog would only visible to users having an admin role.


        And what about a carousel? 


        Easy, isn't it? No configuration, no background settings, no debug needed.

        Quanta's core qTags

        Quanta comes with a large array of core qtags ready for use. However creating a custom qtag  is an easy task, and the beautiful part is you'll be able to reuse your qtags in all your projects, by just copy-pasting their code in your custom modules.

        After a short while of working with Quanta, you'll own a personal swiss-army knife of qtags, that you can use and reuse throughout all your sites... or share & exchange with other Quanta developers!