From 3e3005b7fed77b4ec08a097ec3b52b3e05f80374 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sat, 14 Dec 2019 15:45:28 +0100 Subject: Update page template and wiki pages Add a wiki page, *test.mdwn* which is more stripped and contains more meta variables. Also update the *nonempty.tmpl* page template. Also add an index page, i.e. include the added *test.mdwn* through inlining with *nonempty.tmpl* into a page *index.mdwn*. --- index.mdwn | 16 ++++++++++++++++ templates/nonempty.tmpl | 41 +++++++++++++++++++++++++++++++++++++++-- test.mdwn | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 index.mdwn create mode 100644 test.mdwn diff --git a/index.mdwn b/index.mdwn new file mode 100644 index 0000000..65b37da --- /dev/null +++ b/index.mdwn @@ -0,0 +1,16 @@ +--- +title: Temporary Index page +abstract: | + Inline some pages. +... + +First inline *test.mdwn*: + +---------------------------- + +[[!inline + pages="test" + template=nonempty +]] + +---------------------------- diff --git a/templates/nonempty.tmpl b/templates/nonempty.tmpl index d54ea3d..9e4770f 100644 --- a/templates/nonempty.tmpl +++ b/templates/nonempty.tmpl @@ -17,9 +17,12 @@ pandoc_title: ||
pageurl: ||
ctime: ||
mtime: ||
-fripost_debug_label_1: ||
+fripost_debug_outer: ||
+fripost_debug_inner: ||
+pandoc_fripost_debug_outer: ||
+pandoc_fripost_debug_inner: ||

-tags again: +tags again: | @@ -27,3 +30,37 @@ tags again:
+EMPLOYEE_INFO: +| + , + | + +
+THIS_LOOP: +| + , + | + +
+
+pandoc_references: + +| + , + | + + +
+references: + +| + , + | + + +
+parentlinks: +| + , , | + +
diff --git a/test.mdwn b/test.mdwn new file mode 100644 index 0000000..a455882 --- /dev/null +++ b/test.mdwn @@ -0,0 +1,35 @@ +--- +title: Titel MetaInlines +author: + - Author 1 MetaInlines in MetaList + - Author 2 MetaInlines in MetaList +date: Date 1 MetaInlines +tag: Random tag MetaInlines +titlesort: Titlesort MetaInlines +abstract: > + Abstract as Plain + in MetaBlocks +ikiwiki_directives: + [[!tag tag-0-ikiwiki-in-meta]] +tags: + - tag-1-MetaInlines-in-MetaList + - tag-2-MetaInlines-in-MetaList +fripost_debug_inner: MetaInlines +experiment: + key_first: MetaInlines pointed from key in MetaMap + key_second: MetaInlines pointed from key in MetaMap +references: + - id: refone + title: Ref-MetaInlines-in-MetaList + - id: reftwo + title: Ref-MetaInlines-in-MetaList +ctime: 20 jan 2019 +... + +[[!tag tag-1-ikiwiki]] + +[[!meta title="Title Ikiwiki" sortas="Sortas Ikiwiki"]] +[[!meta date="2019-08-15"]] +[[!meta author="Auhor Ikiwiki"]] + +Here is test page content. One single paragraph -- cgit v1.2.3