You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.
One should be able to write global mixins which can be called from any Pug template.
A classic example is to have a global mixin for rendering avatars / gravatars and simply calling +avatar(user) in the templates which keeps everything DRY and simple.
The basic concept is to add a new folder mixins where each .pug file will be loaded and included for usage in other page templates.
The text was updated successfully, but these errors were encountered:
One should be able to write global mixins which can be called from any Pug template.
A classic example is to have a global mixin for rendering avatars / gravatars and simply calling
+avatar(user)
in the templates which keeps everything DRY and simple.The basic concept is to add a new folder
mixins
where each.pug
file will be loaded and included for usage in other page templates.The text was updated successfully, but these errors were encountered: