aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment')
-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*
+"""]]