diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
commit | a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6 (patch) | |
tree | b2c8cd5f97b0bfda7de13cf3a0c39dde376d87f6 /templates/archivepage.tmpl | |
parent | f7079d9800822112eba01239789c3092b16b976d (diff) | |
download | ewww.liw.fi-a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6.tar.gz |
add styling from ikiwiki-style
Sponsored-by: author
Diffstat (limited to 'templates/archivepage.tmpl')
-rw-r--r-- | templates/archivepage.tmpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl new file mode 100644 index 0000000..3e0bd9b --- /dev/null +++ b/templates/archivepage.tmpl @@ -0,0 +1,19 @@ +<div class="archivepage"> +<TMPL_IF PERMALINK> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br /> +<TMPL_ELSE> +<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br /> +</TMPL_IF> +<span class="archivepagedate"> +Posted <TMPL_VAR CTIME> +<TMPL_IF AUTHOR> +by <span class="author"> +<TMPL_IF AUTHORURL> +<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> +<TMPL_ELSE> +<TMPL_VAR AUTHOR> +</TMPL_IF> +</span> +</TMPL_IF> +</span> +</div> |