add ! prefix to some directives in templates, and to the recentchanges page

master
Joey Hess 2008-02-05 16:18:29 -05:00
parent a4b2e77077
commit f3efacb16d
3 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
[[meta title="RecentChanges"]]
[[!meta title="RecentChanges"]]
Recent changes to this wiki:
[[inline pages="internal(recentchanges/change_*) and !*/Discussion"
[[!inline pages="internal(recentchanges/change_*) and !*/Discussion"
template=recentchanges show=0]]

View File

@ -1,15 +1,15 @@
<TMPL_VAR CONTENT>
<TMPL_LOOP NAME="TAGS">
[[tag <TMPL_VAR TAG>]]
[[!tag <TMPL_VAR TAG>]]
</TMPL_LOOP>
<TMPL_IF NAME="TITLE">
[[meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]]
[[!meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]]
</TMPL_IF>
<TMPL_IF NAME="PERMALINK">
[[meta permalink="<TMPL_VAR NAME="PERMALINK" ESCAPE=HTML>"]]
[[!meta permalink="<TMPL_VAR NAME="PERMALINK" ESCAPE=HTML>"]]
</TMPL_IF>
<TMPL_IF NAME="COPYRIGHT">
[[meta copyright="<TMPL_VAR NAME="COPYRIGHT" ESCAPE=HTML>"]]
[[!meta copyright="<TMPL_VAR NAME="COPYRIGHT" ESCAPE=HTML>"]]
</TMPL_IF>
[[meta author="<TMPL_VAR NAME="NAME" ESCAPE=HTML>"]]
[[meta authorurl="<TMPL_VAR NAME="URL" ESCAPE=HTML>"]]
[[!meta author="<TMPL_VAR NAME="NAME" ESCAPE=HTML>"]]
[[!meta authorurl="<TMPL_VAR NAME="URL" ESCAPE=HTML>"]]

View File

@ -1,8 +1,8 @@
[[meta author="""<TMPL_VAR AUTHOR>"""]]
[[!meta author="""<TMPL_VAR AUTHOR>"""]]
<TMPL_IF AUTHORURL>
[[meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
[[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
</TMPL_IF>
[[meta title="""update of <TMPL_VAR WIKINAME>'s<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP>"""]]
[[!meta title="""update of <TMPL_VAR WIKINAME>'s<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP>"""]]
<div class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">