diff options
| -rw-r--r-- | index.mdwn | 16 | ||||
| -rw-r--r-- | templates/nonempty.tmpl | 41 | ||||
| -rw-r--r-- | test.mdwn | 35 | 
3 files changed, 90 insertions, 2 deletions
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: |<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/> +fripost_debug_outer: |<TMPL_VAR FRIPOST_DEBUG_OUTER>|<BR/> +fripost_debug_inner: |<TMPL_VAR FRIPOST_DEBUG_INNER>|<BR/> +pandoc_fripost_debug_outer: |<TMPL_VAR	PANDOC_FRIPOST_DEBUG_OUTER>|<BR/> +pandoc_fripost_debug_inner: |<TMPL_VAR	PANDOC_FRIPOST_DEBUG_INNER>|<BR/>  <br/> -tags again:  +tags again:  <TMPL_IF TAGS>   |    <TMPL_LOOP TAGS> @@ -27,3 +30,37 @@ tags again:    </TMPL_LOOP>        </TMPL_IF>  <BR/> +EMPLOYEE_INFO: +|<TMPL_LOOP NAME=EMPLOYEE_INFO> +       <TMPL_VAR NAME=NAME>, +       <TMPL_VAR NAME=JOB>| +</TMPL_LOOP> +<br/> +THIS_LOOP: +|<TMPL_LOOP THIS_LOOP> +      <TMPL_VAR WORD>, +      <TMPL_VAR NUMBER>| +    </TMPL_LOOP> +<br/> +<BR/> +pandoc_references: +<TMPL_IF PANDOC_REFERENCES> +|<TMPL_LOOP PANDOC_REFERENCES> +      <TMPL_VAR ID>, +      <TMPL_VAR TITLE>| +    </TMPL_LOOP> +</TMPL_IF> +<BR/> +references: +<TMPL_IF REFERENCES> +|<TMPL_LOOP REFERENCES> +      <TMPL_VAR ID>, +      <TMPL_VAR TITLE>| +    </TMPL_LOOP> +</TMPL_IF> +<BR/> +parentlinks: +|<TMPL_LOOP PARENTLINKS> + <TMPL_VAR PAGE>, <TMPL_VAR URL>, <TMPL_VAR DEPTH>| +</TMPL_LOOP> +<BR/> 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  | 
