aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmtd <jmtd@web>2020-04-21 17:30:26 -0400
committeradmin <admin@branchable.com>2020-04-21 17:30:26 -0400
commita8a2628b1837c825f3f8ffc37d9af58168ff37f9 (patch)
tree66ce2adeb944f9827cd634703df7dd626679e06d
parent0606d7cfb1bd802ebed18e1182c3da5ff1d4954a (diff)
downloadikiwiki-a8a2628b1837c825f3f8ffc37d9af58168ff37f9.tar
ikiwiki-a8a2628b1837c825f3f8ffc37d9af58168ff37f9.tar.gz
Added a comment: First cut
-rw-r--r--doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment b/doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment
new file mode 100644
index 000000000..d6c22aa33
--- /dev/null
+++ b/doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="jmtd"
+ avatar="http://cdn.libravatar.org/avatar/2a3bcb34947fceef61560bd8a2931957"
+ subject="First cut"
+ date="2020-04-21T21:30:26Z"
+ content="""
+This works for me: <https://github.com/jmtd/ikiwiki/blob/permalink-plugin/IkiWiki/Plugin/permalink.pm>
+
+Then you can put something like this into your `page.tmpl`:
+
+ <a href=\"<TMPL_VAR PERMALINK>\" class=\"u-url\"></a>
+
+*— [[Jon]], 2020-04-21*
+"""]]