even
even copied to clipboard
Draft pages break build
trafficstars
I have a few pages with draft = true in their front matter, and it breaks in templates/index.html with the following error:
Error: Failed to render page '/../my-blog/content/my-draft-article.md'
Reason: Failed to render 'even/templates/page.html'
Reason: `get_taxonomy_url`: couldn't find `TIL` in `tags` taxonomy
Not sure if this is an error in the get_taxonomy_url helper method or in this theme, but it looks like tags on pages in draft state, do not get added to the global taxonomies object.
For anyone else experiencing this issue, a workaround is to remove draft = true from the front matter of all your articles.
Rrelated issue: getzola/zola#319
Something like {% if not page.draft ... should fix this.