I have an issue understanding when to use extends
with block
rather than include
in pug templates. Are these two ways of building partials mostly interchangeable or is there a reason why you would use one way rather than the other?
Asked
Active
Viewed 20 times
1

ilovebigmacs
- 983
- 16
- 28
-
Check if it helps: https://stackoverflow.com/questions/14170537/difference-between-include-and-block-in-jade#answer-14174164 – Mohit Bhardwaj Nov 17 '17 at 06:45
-
It does! Thanks! Didn't find that question when searching. – ilovebigmacs Nov 17 '17 at 10:32