Skip to content
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

extendsing templates in same directory doesn't replace blocks #6

Open
MichaelJCole opened this issue Feb 13, 2018 · 0 comments
Open

Comments

@MichaelJCole
Copy link

This file configuration was not replacing my blocks with content when extending templates:

theme/name/layout/page.pug    extends layout with some block content
theme/name/layout/layout.pup

page.pug blocks don't appear in the output.

Workaround:

theme/name/layout/page.pug   extends _partials/layout
theme/name/layout/_partials/layout.pug

Files in the same directory worked when using pug-cli to compile. Not sure why it didn't in the hexo-renderer.

@yoshinorin yoshinorin transferred this issue from hexojs/hexo-renderer-jade Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant