Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Footnotes link back to front page
Hello!
I’ve encountered a strange issue, which I can’t resolve myself. When I generate footnotes with Textile the link looks like this: <a href="#fn:1">1</a>
. This works fine when you view it on the front page. However, if you view it an an individual article page and click on the link you’re taken to the footnote on the front page instead. It seems the path to the individual article is missing from the footnote link.
Is there a solution to this?
/Joakim
Offline
Re: [textile] Footnotes link back to front page
I use footnotes too … here footnotes don’t have absolute links. They are relative with an # anchor. In your example above is a colon between the # an the digit. Maybe this is the reason so the markup will not correctly parsed.
Are you sure you use footnotes like this:
text to be footnoted[1]
another text to be footnoted[2]
fn1. footnote
fn2. footnote
So this will become:
text to be footnoted1
another text to be footnoted2
1 footnote one
2 footnote two
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
Re: [textile] Footnotes link back to front page
I think the footnote does get correctly parsed. It works as expected when used on the front page. When a klick on footnote links on individual article pages the link isn’t relative to the individual article page, but to the front page.
A footnote on the page http://hertze.com/2008/04/title
links to http://hertze.com/#footnote
, i.e. it gets pointed back towards the main domain.
Offline
Re: [textile] Footnotes link back to front page
I noticed this thread has been moved to the Textil forum, but I don’t think this is a Textile issue.
Offline
Re: [textile] Footnotes link back to front page
It’s caused by this HTML tag in your template:
<base href="http://hertze.com/" />
Offline