Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Add detection of Section Posts in build script #706

Merged
merged 1 commit into from
Sep 2, 2019
Merged

Add detection of Section Posts in build script #706

merged 1 commit into from
Sep 2, 2019

Conversation

onedrawingperday
Copy link
Contributor

This is continued from #703 due to this bul-ikana/hugo-cards@e3248ef#diff-3db8db7226d7f28bb43b59ce30ad6157R8

Apparently there are themes in the repo that use where .Site.RegularPages "Section" "posts"

This commit will make sure that the Build Script will detect the above in a theme's templates and change the Section to post since that is the only section served by the hugoBasicExample.

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