summaryrefslogtreecommitdiff
path: root/doc/bugs/HTML_for_parentlinks_makes_theming_hard.mdwn
blob: bc934d109629e1df585467454b3272cf8d4608ab (plain)

I'm trying to make a pretty theme for ikiwiki and I'm making progress (or at least I think I am :-). However I've noticed an issue when it comes to theming. On the front page the wiki name is put inside the "title" span and on all the other pages, it's put in the "parentlinks" span. See here:

From my dev home page:

</span>
<span class="title">
adam.shand.net/iki-dev
</span>
</span><!--.header-->

</div>

From a sub-page of my dev home page:

<a href="../">adam.shand.net/iki-dev/

</span>
<span class="title">
recipes </span>
</span><!--.header-->

</div>

I understand the logic behind doing this (on the front page it is the title as well as the name of the wiki) however if you want to do something different with the title of a page vs. the name of the wiki it makes things pretty tricky.

I'll just modify the templates for my own site but I thought I'd report it as a bug in the hopes that it will be useful to others.

Cheers,
[[AdamShand]].


I just noticed that it's also different on the comments, preferences and edit pages. I'll come up with a diff and see what you guys think. -- Adam.