New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hugo does not allow "define template" inside subfolders in partials and shortcodes #4897

Closed
bep opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Jul 2, 2018

For shortcodes this has not been a problem for many days (just recently got namespace support), but we need to fix this.

We check if a template needs a base template if it contains a "define" definition. This check should not be done in partials and shortcodes.

The problem is that we have currently a little too simple check for "is partial or shortcode", which fails if they live in a sub-directory.

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