summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-10-23 21:05:58 +0200
committerGustav Eek <gustav.eek@fripost.org>2019-10-23 21:05:58 +0200
commit9c1b912768a18988f2a82808c652357aaacc1282 (patch)
tree574876a602aad27b1dc925b3832a16ca07c04d02
parentbba70d9df06854539f7fb2e61f5ca000331fd7f6 (diff)
Update with templates and events modifications
Add the referred to templates. Also update some tags in pages
-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/>