Replies: 2 comments 2 replies
-
Can you show your |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you. Here is the category.html and tag.html
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Hoping you are doing great. At this moment, I have a new blog with new template working well locally except for one aspect: in the page auto-generated for each tag or category the links to the post are not working.
In my index.html everthing works well the the links to the articles are ok, for example,
http://127.0.0.1:8000/articles/tutorial/2022-01/tutorialEnergyBudget.html
however in the list of articles per category or tags it points to a wrong place (tag is added to the path). For example this article has a tag named energy, and in the auto-generated page for that tag is:
http://127.0.0.1:8000/tag/articles/tutorial/2022-01/tutorialEnergyBudget.html
and in the category the same is happening:
http://127.0.0.1:8000/category/articles/tutorial/2022-01/tutorialEnergyBudget.html
if I print the value of the variable article.url it is ok, so I can't not figure out why Pelican is adding tag or category to the path.
Note: in my pelicanconf.py it is added:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions