summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-12-14 15:45:28 +0100
committerGustav Eek <gustav.eek@fripost.org>2020-01-06 13:31:44 +0100
commit3e3005b7fed77b4ec08a097ec3b52b3e05f80374 (patch)
treea465761030f890a8ee7fe730c70aafa4aa16a105 /templates
parent8789cce4b995551405d701d8403a0cbc955dd82f (diff)
Update page template and wiki pages
Add a wiki page, *test.mdwn* which is more stripped and contains more meta variables. Also update the *nonempty.tmpl* page template. Also add an index page, i.e. include the added *test.mdwn* through inlining with *nonempty.tmpl* into a page *index.mdwn*.
Diffstat (limited to 'templates')
-rw-r--r--templates/nonempty.tmpl41
1 files changed, 39 insertions, 2 deletions
diff --git a/templates/nonempty.tmpl b/templates/nonempty.tmpl
index d54ea3d..9e4770f 100644
--- a/templates/nonempty.tmpl
+++ b/templates/nonempty.tmpl
@@ -17,9 +17,12 @@ pandoc_title: |<TMPL_VAR PANDOC_TITLE>|<BR/>
pageurl: |<TMPL_VAR PAGEURL>|<BR/>
ctime: |<TMPL_VAR CTIME>|<BR/>
mtime: |<TMPL_VAR MTIME>|<BR/>
-fripost_debug_label_1: |<TMPL_VAR FRIPOST_DEBUG_LABEL_1>|<BR/>
+fripost_debug_outer: |<TMPL_VAR FRIPOST_DEBUG_OUTER>|<BR/>
+fripost_debug_inner: |<TMPL_VAR FRIPOST_DEBUG_INNER>|<BR/>
+pandoc_fripost_debug_outer: |<TMPL_VAR PANDOC_FRIPOST_DEBUG_OUTER>|<BR/>
+pandoc_fripost_debug_inner: |<TMPL_VAR PANDOC_FRIPOST_DEBUG_INNER>|<BR/>
<br/>
-tags again:
+tags again:
<TMPL_IF TAGS>
|
<TMPL_LOOP TAGS>
@@ -27,3 +30,37 @@ tags again:
</TMPL_LOOP>
</TMPL_IF>
<BR/>
+EMPLOYEE_INFO:
+|<TMPL_LOOP NAME=EMPLOYEE_INFO>
+ <TMPL_VAR NAME=NAME>,
+ <TMPL_VAR NAME=JOB>|
+</TMPL_LOOP>
+<br/>
+THIS_LOOP:
+|<TMPL_LOOP THIS_LOOP>
+ <TMPL_VAR WORD>,
+ <TMPL_VAR NUMBER>|
+ </TMPL_LOOP>
+<br/>
+<BR/>
+pandoc_references:
+<TMPL_IF PANDOC_REFERENCES>
+|<TMPL_LOOP PANDOC_REFERENCES>
+ <TMPL_VAR ID>,
+ <TMPL_VAR TITLE>|
+ </TMPL_LOOP>
+</TMPL_IF>
+<BR/>
+references:
+<TMPL_IF REFERENCES>
+|<TMPL_LOOP REFERENCES>
+ <TMPL_VAR ID>,
+ <TMPL_VAR TITLE>|
+ </TMPL_LOOP>
+</TMPL_IF>
+<BR/>
+parentlinks:
+|<TMPL_LOOP PARENTLINKS>
+ <TMPL_VAR PAGE>, <TMPL_VAR URL>, <TMPL_VAR DEPTH>|
+</TMPL_LOOP>
+<BR/>