According to the documentation, the value for :slug, if not explicitly overridden, is determined by the name of the content file. However, after doing some experimentation and looking at the files generated in the public folder, that doesn’t seem to be strictly the case. This is what I put in my config.toml file:
[taxonomies] year = "year" [permalinks] year = "/post/:slug/"
And in my front matter:
When I look at the public folder, this is what I see:
So to me it looks as if, in the case of a slug for a taxonomy, :slug by default refers to the term of the taxonomy, and not to the name of the markdown file. I’d just like to know whether I’m misunderstanding how this works. Thanks.