Created
December 1, 2016 16:16
-
-
Save jhyland87/703d2abff98c4694fe417ffdcb126b53 to your computer and use it in GitHub Desktop.
hello-world.pug and head.pug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------- | |
//- File: templates/hello-world.pug | |
// Begin: hello-world.pug | |
//- I would expect this to show the rendered head.md file, including the head.pug data, but it only shows the "content" from head.md | |
!= head | |
!=contents | |
p (File: hello-world.pug) This page includes the content from head.md, but not the rendered data from head.pug | |
// End: hello-world.pug | |
//-------------------------------- | |
//- File: templates/head.pug | |
// Begin: head.pug | |
!=contents | |
p (File: head.pug) This is the content that doesn't get rendered when this file is included | |
// End: head.pug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment