content/system/variables
[name, value]
The system/variables is where variables are defined for use throughout the pages, content and blogs.
To use the variable:
[var, name]
Examples
Example#1 define the hex colours used by the website as variables.
[colors.yellow,#FFD319] // yellow
[colors.orange,#FF901F] // orange
[colors.pink,#FF2975] // pink
[colors.black,#000000] // black
[colors.orange,#FFFFFF] // white
Use on a page [section]
[ section,background-color:[var,colors.pink];color:[var,colors.white];]
centered text
[sectionend]
Example#2 use the hex colour variables to define additional variables used by the website.
[colors.main,[var,colors.yellow] ]
[colors.maintext,[var,colors.orange] ]
[colors.header,[var,colors.yellow] ]
[colors.footer,[var,colors.orange] ]
[colors.yellow,#FFD319] // yellow
[colors.orange,#FF901F] // orange
[colors.pink,#FF2975] // pink
[colors.black,#000000] // black
[colors.orange,#FFFFFF] // white
Example#3 define contact detail variables.
[contact.phone,+(44) 141 000 00000]
[contact.mobile,+(44) 771 000 00000]
[contact.email,mail@yourdomain.com
Example#4 use a different favicon image.
[system.favicon,image.png]
Notes