Using Pug Template Inheritance to Keep Layouts DRY
Learn how to use Pug’s extends and block features to reuse layouts, see a worked example, and avoid common indentation pitfalls.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use Pug’s extends and block features to reuse layouts, see a worked example, and avoid common indentation pitfalls.