aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--templates/inlinepage.tmpl7
2 files changed, 6 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index b61e82a7f..46a1c3f62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,8 +22,9 @@ ikiwiki (1.27) UNRELEASED; urgency=low
* Link debian/changelog and debian/news to NEWS and CHANGELOG.
* Support hyperestradier version 1.4.2, which adds a new required phraseform
setting.
+ * If an inlined page has a permalink, link the page title to that.
- -- Joey Hess <joeyh@debian.org> Sat, 9 Sep 2006 18:56:10 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 9 Sep 2006 23:56:48 -0400
ikiwiki (1.26) unstable; urgency=low
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">