Reusable Pug Mixins: Attribute Merging, Rest Arguments, and Blocks
Build reusable Pug components with mixins: capture caller attributes with the attributes object, accept variable input with rest arguments, and wrap content with blocks — plus the class-merging and indentation traps to avoid.