Skip to content

Draft pages break build #21

Open
Open
@danny-andrews

Description

@danny-andrews

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions