aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-10 04:19:46 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-09-10 04:19:46 +0000
commit68c67a5f41a1c6a6535389a6cbff170a4be70ca9 (patch)
treeb56a34034c0a2a595a732423cd5839e397db9cef /templates
parent1705e6246ece4d75541f7feb42abef512ba3a3be (diff)
downloadikiwiki-68c67a5f41a1c6a6535389a6cbff170a4be70ca9.tar
ikiwiki-68c67a5f41a1c6a6535389a6cbff170a4be70ca9.tar.gz
* If an inlined page has a permalink, link the page title to that.
Diffstat (limited to 'templates')
-rw-r--r--templates/inlinepage.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index 8210874ef..3657a17e6 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -9,15 +9,16 @@
</span>
</TMPL_IF>
<span class="header">
+<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>
</span>
<TMPL_VAR CONTENT>
<span class="pageinfo">
Posted <TMPL_VAR CTIME>
-<TMPL_IF NAME="PERMALINK">
-(<a rel="bookmark" href="<TMPL_VAR NAME=PERMALINK>">permalink</a>)
-</TMPL_IF>
</span>
<span class="tags">