Forum
Runway Blog Setup
Hi,
Can anybody confirm if i should be using a different post_in_list template for the archive pages which uses different post links?
currently i have the below:
<a href="blog/<perch:blog id="postSlug" />" rel="bookmark" class="btn btn-default pull-right">read more</a>
This works ok across my site apart from on the archive pages on which they get amended to include /blog/tag/
mydomain.com/blog/tag/blog/2015-04-09-my-blog-title
I checked my routes and page paths to that of the documentation but i must be missing something i guess.
blog/[blogslug:s]
blog/[year:year]
blog/[year:year]/[i:month]
blog/category/[slug:cat]
blog/tag/[slug:tag]
blog/author/[slug:author]
thanks in advance
What code do you have in your template for the archive pages?
Im currently using the same post_in_list.html
Have you tried making the link root relative by including a forward slash at the beginning of the URL?
That's a good call. I think that could be the issue here.
Hey Martin,
Spot on!!
cheers guys