aboutsummaryrefslogtreecommitdiff
path: root/templates/inlinepage.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/inlinepage.tmpl')
-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">