diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/archivepage.tmpl | 4 | ||||
-rw-r--r-- | templates/titlepage.tmpl | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl index 6bc789dfb..63f716544 100644 --- a/templates/archivepage.tmpl +++ b/templates/archivepage.tmpl @@ -1,5 +1,9 @@ <p> +<TMPL_IF NAME="PERMALINK"> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a> +<TMPL_ELSE> <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br /> +</TMPL_IF> <i> Posted <TMPL_VAR CTIME> </i> diff --git a/templates/titlepage.tmpl b/templates/titlepage.tmpl index f5cd5bc53..8a11e693e 100644 --- a/templates/titlepage.tmpl +++ b/templates/titlepage.tmpl @@ -1 +1,7 @@ -<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p> +<p> +<TMPL_IF NAME="PERMALINK"> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a> +<TMPL_ELSE> +<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a> +</TMPL_IF> +</p> |