aboutsummaryrefslogtreecommitdiff
path: root/templates/aggregatepost.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-30 22:58:48 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-30 22:58:48 +0000
commit88830016154d99a0155e1cee58582e9f32dcca51 (patch)
treebcb92fbcb40f36d94de660d9fe5ddb6477ca06a4 /templates/aggregatepost.tmpl
parent26c2c63c97e6bfa704357503fdfd8d8834838851 (diff)
downloadikiwiki-88830016154d99a0155e1cee58582e9f32dcca51.tar
ikiwiki-88830016154d99a0155e1cee58582e9f32dcca51.tar.gz
* Change meta tags to use html entity-escaped text for values, so that
quotes and such can be represented in title tags. * Depend and build-depend on HTML::Parser for HTML::Entities which is used for the above. * Make --rebuild also cause --aggregate to re-download and write aggregated pages. * Avoid outputting duplicate meta info. * Include title metadata on aggregated posts for capitalised and un-munged titles.
Diffstat (limited to 'templates/aggregatepost.tmpl')
-rw-r--r--templates/aggregatepost.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/aggregatepost.tmpl b/templates/aggregatepost.tmpl
index aa8bc27e4..689a23341 100644
--- a/templates/aggregatepost.tmpl
+++ b/templates/aggregatepost.tmpl
@@ -10,3 +10,6 @@ From <a href="<TMPL_VAR URL>"><TMPL_VAR NAME></a>
<TMPL_LOOP NAME="TAGS">
[[tag <TMPL_VAR TAG>]]
</TMPL_LOOP>
+<TMPL_IF NAME="TITLE">
+[[meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]]
+</TMPL_IF>