Unsure if that intentional, but I found a bit of discrepency.
I got site
/about/
that contain index.md
with
---
title: "About"
url: '/about/'
---
for English language.
Than I got index.pl.md
to add Polish translation.
In it I got:
---
title: "O Nas"
slug: '/o-nas/'
---
Main is using url
the other is using slug
English will be example.com/about/
where Polish will become example.com/pl/o-nas/
All working well, however this idea cannot be used in /categories/
and /tags/
pages that agregating list of categories and list of tags.
For each indivudual category and tag, I can use hugo.toml
to specify using
[languages.pl.permalinks]
tags = "/tag/:slug/"
categories = "/:slug/"
However slug doesn’t seams to be used in categories and tags.
I created /categories/
folder and placed _index.md
and _index.pl.md
there.
To make it working in _index.pl.md
I need to specify it as
url: "/pl/kategorie/"
aliases: "/pl/categories/"
only because slug
slug: `/kategorie/`
is not working.
Is that intentional?
ps. its not a big issue.