diff options
author | Gustav Eek <gustav.eek@fripost.org> | 2019-10-23 21:05:58 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@fripost.org> | 2020-01-06 13:31:44 +0100 |
commit | 502e4a236cb42bfd0ed34e1582da47a54e004315 (patch) | |
tree | 7435099fd3b2f41e80b875dd637e528106647455 | |
parent | db10b7e4b31bbaf59faa4b106397cffaab673d88 (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.mdwn | 6 | ||||
-rw-r--r-- | templates/empty.tmpl | 1 | ||||
-rw-r--r-- | templates/nonempty.tmpl | 23 |
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/> |