aboutsummaryrefslogtreecommitdiff
path: root/templates/aggregatepost.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-04 00:01:51 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-04 00:01:51 +0000
commitc5919df5f3697e0f8968e2b8f49cd15c1e0aa412 (patch)
treee4e6047286cd5144e6048e6c1921e9b9027f499c /templates/aggregatepost.tmpl
parente8b39b094116e8b50cf12fe56b9c6a04f05683e5 (diff)
downloadikiwiki-c5919df5f3697e0f8968e2b8f49cd15c1e0aa412.tar
ikiwiki-c5919df5f3697e0f8968e2b8f49cd15c1e0aa412.tar.gz
* Make aggregator save permalinks and author name to pages as metadata.
* Add permalink and author support to meta plugin, affecting RSS feeds and blog pages. * Change titlepage() to encode utf-8 alnum characters. This is necessary to avoid UTF-8 creeping into filenames in urls. (There are still some other ways that it can get in.)
Diffstat (limited to 'templates/aggregatepost.tmpl')
-rw-r--r--templates/aggregatepost.tmpl13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/aggregatepost.tmpl b/templates/aggregatepost.tmpl
index 689a23341..50c09fff8 100644
--- a/templates/aggregatepost.tmpl
+++ b/templates/aggregatepost.tmpl
@@ -1,15 +1,12 @@
<TMPL_VAR CONTENT>
-<p>
-<i>
-From <a href="<TMPL_VAR URL>"><TMPL_VAR NAME></a>
-<TMPL_IF NAME="LINK">
-; <a href="<TMPL_VAR LINK>">permalink</a>
-</TMPL_IF>
-</i>
-</p>
+<br/>
<TMPL_LOOP NAME="TAGS">
[[tag <TMPL_VAR TAG>]]
</TMPL_LOOP>
<TMPL_IF NAME="TITLE">
[[meta title="<TMPL_VAR NAME="TITLE" ESCAPE=HTML>"]]
</TMPL_IF>
+<TMPL_IF NAME="PERMALINK">
+[[meta permalink="<TMPL_VAR NAME="PERMALINK" ESCAPE=HTML>"]]
+</TMPL_IF>
+[[meta author="<TMPL_VAR NAME="NAME" ESCAPE=HTML>"]]