Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags page has hardcoded "/blog" link. #103

Open
RLesser opened this issue Jul 26, 2020 · 4 comments
Open

Tags page has hardcoded "/blog" link. #103

RLesser opened this issue Jul 26, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@RLesser
Copy link

RLesser commented Jul 26, 2020

In Layouts/taxonomy/tag.html, the all posts link is hardcoded to "/blog", which causes issues if the blog is not hosted on the baseURL, or if the place with posts is not called "blog". I'm relatively new to Hugo so I don't have a specific code suggestion, but thought it would be good to raise this.

@jwalsh2me
Copy link

jwalsh2me commented Jul 26, 2020

I had a similar issue, was able to do it in a rewrite rule. @RLesser see #102

@jwalsh2me
Copy link

Well... my rewrite fixed it on one place where it was broken, but broke it where it originally worked.

@jakewies
Copy link
Owner

Yes, definitely a good issue to raise @RLesser

@jwalsh2me has implemented a PR and I've made some notes. We're just waiting on some adjustments 😄

@jakewies
Copy link
Owner

This should be solved when #95 is merged

@jakewies jakewies added the bug Something isn't working label Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants