summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-12-09 19:51:03 +0100
committerGustav Eek <gustav.eek@fripost.org>2020-01-06 13:31:44 +0100
commit68534afeffad17c37337cb350fd10998da973def (patch)
tree521852a1525765aff000e7831f7f1d7ef0125c4a /templates
parent82016f6624dae1e61cf3cacba6a32540b1e3fa4e (diff)
Further debug work with quite some progress
Read the last line in *notes*. Document *notes* added with some notes. Files *nonempty.tmpl* and *arg-for-fripost.mdwn* are uppdated with more template variable things. In *pandoc.pm*: * Debug dumps from subroutine *pagetemplate* improved * Some extra meta things are tried out
Diffstat (limited to 'templates')
-rw-r--r--templates/nonempty.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/nonempty.tmpl b/templates/nonempty.tmpl
index 319a79d..d54ea3d 100644
--- a/templates/nonempty.tmpl
+++ b/templates/nonempty.tmpl
@@ -1,7 +1,8 @@
<h2><TMPL_VAR TITLE></h2>
-title: |<TMPL_VAR TITLE>|<br/>
-date: |<TMPL_VAR DATE DEFAULT="1970-01-01">|<br/>
+title: |<TMPL_VAR TITLE DEFAULT="Defaulttitle hej">|<br/>
+date: |<TMPL_VAR DATE>|<br/>
+pubdate: |<TMPL_VAR PUBDATE>|<br/>
titlesort: |<TMPL_VAR TITLESORT>|<br/>
author: |<TMPL_VAR AUTHOR>|<BR/>
abstract: |<TMPL_VAR ABSTRACT>|<BR/>
@@ -13,6 +14,10 @@ pandoc_tag: |<TMPL_VAR PANDOC_TAG>|<BR/>
pandoc_titlesort: |<TMPL_VAR PANDOC_TITLESORT>|<BR/>
pandoc_abstract: |<TMPL_VAR PANDOC_ABSTRACT>|<BR/>
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/>
<br/>
tags again:
<TMPL_IF TAGS>