Editing Templates :: Global Templates
Websites have a design that stays pretty similar on every page, that's why ComicCMS gives you the Header & Footer templates. These are automatically included by ComicCMS on all the pages of your site. This means that by just editing these templates you can make a change to every single page on your site in an instant. These are called the global templates.
Because of how ComicCMS caches your site for fast performance the global templates act quite differently from normal templates. In fact they only have 2 special properties:
- Simple global variable replacement
- "If" statements for global variables
We'll get into if statements in a while, just keep in your mind that only those two things apply to global templates. Everything else we talk about here only applies to normal templates.
Now, next let's learn what a global variable is