html5-dopetrope icon indicating copy to clipboard operation
html5-dopetrope copied to clipboard

Posts don't correctly link to categories/tags

Open jessebobrien opened this issue 7 years ago • 1 comments

On the article view, the category URL results in a structure of {{ article.category }}/category/{{ category }} and tag s are {{ article.category }}/tag/{{ tag }}.html

jessebobrien avatar Sep 27 '17 20:09 jessebobrien

It seems to be misinterpreting pelicanconf.py values, and likely won't happen with 'default' URL structure ... but it's still internally inconsistent.

ARTICLE_URL = '{category}/{slug}'
ARTICLE_SAVE_AS = '{category}/{slug}.html'
CATEGORY_URL = 'category/{slug}'
CATEGORY_SAVE_AS = 'category/{slug}.html'
USE_FOLDER_AS_CATEGORY = True```

jessebobrien avatar Sep 27 '17 20:09 jessebobrien