From: buo Date: Thu, 6 Aug 2009 17:40:26 +0000 (-0400) Subject: (no commit message) X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/bb4a121222436473f3136064ba89d31995e40691?hp=4a331d8afc75f9c9fbfb1ef8d592fa1bfb4e2874;ds=sidebyside --- diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn new file mode 100644 index 000000000..c3252062a --- /dev/null +++ b/doc/forum/Sidebar_with_links__63__.mdwn @@ -0,0 +1,41 @@ +I'm trying to create a template to use as a sidebar with links. The template will be static +(no variables are used). I first created a page with this directive: \[[!template id=sidebar]], +and then created the template with the web interface. + +This is the code I put in the template: + +
+ + +
+ +This is the relevant part of the resulting html file `template/sidebar.html`: + +
+ +
+ +Note that the `` link has disappeared, and that `[External link](http://google.com/)` +has been copied literally instead of being converted to a link, as I expected. + +Worse, this is the relevant part of the html file of the page that includes the template: + +
+
    +
  • Existing internal link
  • +
  • ?Non-existing internal link
  • +
  • [External link](http://google.com/)
  • +
+
+ +Note that the `Existing internal link` is no longer a link. It is only text. + +What am I doing wrong? Any help or pointers will be appreciated. --[[buo]]