Skip to content

Null tag {slug} is being generated in addition to the other tags #3391

Answered by justinmayer
guru-das-s asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Guru. I can't replicate the problem you described. The relevant settings for my Justin Mayer site are:

TAG_URL = "tag/{slug}/"
TAG_SAVE_AS = "tag/{slug}/index.html"
TAGS_SAVE_AS = "tags/index.html"

… which seem to be the same as the settings I am seeing in the paste-bin link you provided.

My suggestion is to (1) delete your output folder, (2) use pelican-quickstart to generate a fresh site with default pelicanconf.py, and (3) adjust configuration settings one line at a time — generating the site after each change — to see if/where the problem gets introduced. Make sense?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@guru-das-s
Comment options

@guru-das-s
Comment options

Answer selected by guru-das-s
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants