gohugoio / hugoBasicExample

MIT License
281 stars 281 forks source link

Re-add Series Taxonomy with 2nd config #23

Closed onedrawingperday closed 5 years ago

onedrawingperday commented 5 years ago

With this PR I am re-adding the series taxonomy but this time I am including a second config file that contains the taxonomies configuration.

The previous commit broke some 35 theme demos on the Hugo website because the Series taxonomy is used in the internal OpenGraph template. Most of the theme demos that broke are using their own exampleSite/config.toml and since a Series taxonomy was not configured in their configs Hugo threw all these demo breaking errors.

This PR solves the previous problem and to work it needs to be merged in tandem with https://github.com/gohugoio/hugoThemes/pull/570 that will make the Themes Site Build Script use the second config that is included in this PR.

Also a benefit of this PR is that more taxonomies can be configured for theme demos based on the overall needs.

cc: @digitalcraftsman