From 95762acf14c237740d265d2cc33e21b02e830f87 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 3 Apr 2019 11:38:27 +0200 Subject: [PATCH] Templates: Introducing components.pug For Blender Cloud specific components. No need for them to be part of Pillar. --- src/templates/mixins/components.pug | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/templates/mixins/components.pug diff --git a/src/templates/mixins/components.pug b/src/templates/mixins/components.pug new file mode 100644 index 0000000..1caac3c --- /dev/null +++ b/src/templates/mixins/components.pug @@ -0,0 +1,14 @@ +//- Category listing header (Learn, Libraries, etc). +mixin category_list_header(title, text, url) + .row.pt-2 + .col-md-9 + a.d-block.py-2.text-secondary(href=url, title=title) + h1.text-uppercase.font-weight-bold + =title + .lead + =text + + if block + block + + hr.my-4