diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-04-10 21:44:37 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-04-10 21:49:43 -0400 |
commit | a25d8f992bc3e39cf39954475f31b83dabbf2374 (patch) | |
tree | c91cc9823e0c8d105ecb8cdb717d359e9c6a4945 /templates | |
parent | e0d1e84b8db54338512ee1ca4b20817d4e338362 (diff) |
inline: Add author info to archive display.
This won't change it normally, and is useful if using archive
format to display some aggregated feed titles.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/archivepage.tmpl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl index fe1f0ab92..28800e763 100644 --- a/templates/archivepage.tmpl +++ b/templates/archivepage.tmpl @@ -6,6 +6,14 @@ </TMPL_IF> <i> Posted <TMPL_VAR CTIME> +<TMPL_IF NAME="AUTHOR"> +by <span class="author"> +<TMPL_IF NAME="AUTHORURL"> +<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> +<TMPL_ELSE> +<TMPL_VAR AUTHOR> +</TMPL_IF> +</span> +</TMPL_IF> </i> - </p> |