X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/bb4a121222436473f3136064ba89d31995e40691..2e19c82cb5974b5d2365ae11b6fd4053a299030d:/doc/forum/Sidebar_with_links__63__.mdwn
diff --git a/doc/forum/Sidebar_with_links__63__.mdwn b/doc/forum/Sidebar_with_links__63__.mdwn
index c3252062a..790ee85a2 100644
--- a/doc/forum/Sidebar_with_links__63__.mdwn
+++ b/doc/forum/Sidebar_with_links__63__.mdwn
@@ -26,6 +26,16 @@ 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.
+> Templates aren't Markdown page. [[ikiwiki/WikiLink]] only are expanded. --[[Jogo]]
+
+>> Thanks for the help Jogo. Looking at the [[templates]] page, it says that
+"...you can include WikiLinks and all other forms of wiki markup in the template." I read this
+to mean that a template may indeed include Markdown. Am I wrong in my interpratation? --[[buo]]
+
+>> I discovered that if I eliminate all html from my sidebar.mdwn template, the links are
+rendered properly. It seems that the mix of Markdown and html is confusing some part of
+Ikiwiki. --[[buo]]
+
Worse, this is the relevant part of the html file of the page that includes the template:
@@ -39,3 +49,10 @@ Worse, this is the relevant part of the html file of the page that includes the
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]]
+
+-----
+
+I think I have figured this out. I thought the template was filled and then
+processed to convert Markdown to html. Instead, the text in each variable is
+processed and then the template is filled. I somehow misunderstood the
+[[templates]] page. -- [[buo]]