summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--events/2013/arg-for-fripost.mdwn6
-rw-r--r--templates/empty.tmpl1
-rw-r--r--templates/nonempty.tmpl23
3 files changed, 30 insertions, 0 deletions
diff --git a/events/2013/arg-for-fripost.mdwn b/events/2013/arg-for-fripost.mdwn
index 8c7a41c..c9c9b41 100644
--- a/events/2013/arg-for-fripost.mdwn
+++ b/events/2013/arg-for-fripost.mdwn
@@ -1,8 +1,14 @@
---
title: Argumentera för Fripost
+author:
+ - Fripost genom arrangörer
+ - Fler
date: 20 februari 2013
tag: done
titlesort: 2013-02-20
+abstract: |
+ gräv ner dig
+ ta en spade
...
[[!tag /events/done]]
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/>