Open passatgt opened 7 years ago
The following code should generate category archive pages for every language: localhost:4567/en/category localhost:4567/hu/category
The {lang} variable is not parsed at blog.custom_collections.category.link, so i get category archives without the proper locale
activate :blog do |blog| blog.sources = "articles/{lang}/{year}-{month}-{day}-{title}.html" blog.permalink = "{lang}/articles/{category}/{title}.html" blog.layout = "article" blog.custom_collections = { category: { link: '{lang}/{category}.html', template: 'category.html' } } end
With two files located in: source/articles/en/2017-01-01-title-en.html.markdown source/articles/hu/2017-01-01-title-hu.html.markdown
And both files include category:Something in frontmatter
ℹ️ This issue is stale because it has been open for more than 90 days with no activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Expected behaviour
The following code should generate category archive pages for every language: localhost:4567/en/category localhost:4567/hu/category
Actual behaviour
The {lang} variable is not parsed at blog.custom_collections.category.link, so i get category archives without the proper locale
Steps to reproduce the problem
With two files located in: source/articles/en/2017-01-01-title-en.html.markdown source/articles/hu/2017-01-01-title-hu.html.markdown
And both files include category:Something in frontmatter
Additional information