Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

fix preview for archive and (custom) post#16

Open
robinzimmer1989 wants to merge 2 commits intoTylerBarnes:masterfrom
robinzimmer1989:master
Open

fix preview for archive and (custom) post#16
robinzimmer1989 wants to merge 2 commits intoTylerBarnes:masterfrom
robinzimmer1989:master

Conversation

@robinzimmer1989
Copy link
Copy Markdown
Collaborator

I've fixed the function with the assumption that the single/archive template in the templates folder of Gatsby exists.

Right now I can't add another check if the template exists because get_option('templates-collections') is just returning the templates which are also visible in the template dropdown.

@robinzimmer1989
Copy link
Copy Markdown
Collaborator Author

Reference Wordsby #56

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant