simplevars | project | technical | examples | links | # |
project - summary - reasoning - usage Features: - expandvars - updatevars - simplevars - attribvars - printerfriendly textmode version - sitemapstyle - filelist ToDo - sitemap styles - section styles - setting vars - alternatives - section hi:light - topic hi:light - two sitefiles - staging files - debug enable
(C) 2004-04-24 |
simplevars = oldstyle updateable content<!--mksite:simplevars--> <!--mksite:nosimplevars--> <!--mksite:warnsimplevars--> The option can be selected in the sitefile, per default we do update content prefixed with these comment variables and additionally warn on those expansions. The simplevars expansion is highly depracated and subject to be removed in the future. It is a heritage of earlier mksite.sh generations where it was the only variable expansion variant. Therefore we default to warnsimplevars that expands them but warns about it. input: derived Note how a single word is updated with this variable expansion. Over time we included a set of wordchars to update atleast default text content with simple date formatting or simple filename formatting.
For the variable expansion we always use the edited variant
value as we did describe it in expandvars.
Anyway, do not use this expansion mechanisms - fix any instance
that you will be warned about and add an explicit |