MyCMS have a tag system, inside the themes and the administration panel.
This system is like the tag system in twig template engine.
The tags system is useful for don't write every time something. For example the site url, site name, the theme folder path or what you want.
In MyCMS for identify the tags we use the "{" open bracket, the "@" symbol, the tag, the "@" symbol and the "}" closing bracket.
For example:
{@siteNAME@}, {@siteURL@}...
You can also add custom tags in your theme, open the functions.php file and add this.
"$this->container['theme']->add_tag('tag_name', 'tag_value');" without ",
replace "tag_name" with the tag name like "siteNAME", and replace
"tag_value" with the value.
For example I've added this custom tag:
"$this->container['theme']->add_tag('helloTag', 'Hello, I\'m a custom tag!');"
{@helloTag@} => {@helloTag@}
If you need to write a tag without it becoming replaced with its value, you need write before the tag this: "no_".
For example: if you write {@no_helloTag@} become {@helloTag@}.
-For write {@no_helloTag@} I've add a custom tag.Every MyCMS tag is a twig variable. Twig variables