Page 1 of 1

adding /d/ to links in daily template [Solved]

PostPosted: Mon Dec 11, 2017 4:14 pm
by ColdFusion
It would seem that putting some custom navigation links (whether by typing out the full url or by just typing the name of the page and letting it autofill the rest) in the daily template, it changes the url to add /d/ to it, as if it was a comic page generated -by- the daily template.

Just to explain better, and to give an example:

http://kiwidayn.comicgenesis.com/d/20071201.html here's the second page. I recently added a little menu at the bottom because I was told I should, but when you click (or hover over) 'archive' you can see it goes to http://kiwidayn.comicgenesis.com/d/archive.html rather than http://kiwidayn.comicgenesis.com/archive.html like it's supposed to. I tried putting http://kiwidayn.comicgenesis.com/archive.html as the link, but I also tried putting just archive.html as the link. I've run the full update and it's still adding the /d/
is this just a function of the daily template?

I remember this problem from long ago.

PostPosted: Tue Dec 12, 2017 3:31 am
by Cope
I believe you need to put a little"/" in front of the url. For example, instead of "<a href="archive.html">", you need "<a href="/archive.html">"

Re: I remember this problem from long ago.

PostPosted: Tue Dec 12, 2017 10:10 am
by ColdFusion
Cope wrote:I believe you need to put a little"/" in front of the url. For example, instead of "<a href="archive.html">", you need "<a href="/archive.html">"


Woo, that worked!

weird, because I didn't need to do that for the indextemplate's links. Maybe -because- it's the index.
thanks!

My memory did not fail me.

PostPosted: Tue Dec 12, 2017 5:09 pm
by Cope
....yeah, pretty sure it only applies to the dailytemplate. It’s a quirk in the code, basically.