summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-10-23 21:05:58 +0200
committerGustav Eek <gustav.eek@fripost.org>2020-01-06 13:31:44 +0100
commit502e4a236cb42bfd0ed34e1582da47a54e004315 (patch)
tree7435099fd3b2f41e80b875dd637e528106647455 /templates
parentdb10b7e4b31bbaf59faa4b106397cffaab673d88 (diff)
Update with templates and events modifications
Add the referred to templates. Also update some tags in pages
Diffstat (limited to 'templates')
-rw-r--r--templates/empty.tmpl1
-rw-r--r--templates/nonempty.tmpl23
2 files changed, 24 insertions, 0 deletions
diff --git a/templates/empty.tmpl b/templates/empty.tmpl
new file mode 100644
index 0000000..0ca25d9
--- /dev/null
+++ b/templates/empty.tmpl
@@ -0,0 +1 @@
+<br>
diff --git a/templates/nonempty.tmpl b/templates/nonempty.tmpl
new file mode 100644
index 0000000..087e403
--- /dev/null
+++ b/templates/nonempty.tmpl
@@ -0,0 +1,23 @@
+<h2><TMPL_VAR TITLE></h2>
+
+title: |<TMPL_VAR TITLE>|<br/>
+date: |<TMPL_VAR DATE DEFAULT="1970-01-01">|<br/>
+titlesort: |<TMPL_VAR TITLESORT>|<br/>
+author: |<TMPL_VAR AUTHOR>|<BR/>
+abstract: |<TMPL_VAR ABSTRACT>|<BR/>
+pandoc_date: |<TMPL_VAR PANDOC_DATE>|<BR/>
+pandoc_primary_author: |<TMPL_VAR PANDOC_PRIMARY_AUTHOR>|<BR/>
+num_authors: |<TMPL_VAR NUM_AUTHORS>|<BR/>
+pandoc_tags: |<TMPL_VAR PANDOC_TAGS>|<BR/>
+pandoc_titlesort: |<TMPL_VAR PANDOC_TITLESORT>|<BR/>
+pandoc_abstract: |<TMPL_VAR PANDOC_ABSTRACT>|<BR/>
+pandoc_title: |<TMPL_VAR PANDOC_TITLE>|<BR/>
+<br/>
+tags again:
+<TMPL_IF TAGS>
+ |
+ <TMPL_LOOP TAGS>
+ <TMPL_VAR LINK>|
+ </TMPL_LOOP>
+ </TMPL_IF>
+<BR/>