]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Added a comment: First cut
authorjmtd <jmtd@web>
Tue, 21 Apr 2020 21:30:26 +0000 (17:30 -0400)
committeradmin <admin@branchable.com>
Tue, 21 Apr 2020 21:30:26 +0000 (17:30 -0400)
doc/forum/how_to_put_a_permalink_on_each_post/comment_4_530540a25a2e6ec3baa0ef97e236ad0b._comment [new file with mode: 0644]

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 (file)
index 0000000..d6c22aa
--- /dev/null
@@ -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*
+"""]]