Templates: Introducing components.pug
For Blender Cloud specific components. No need for them to be part of Pillar.
This commit is contained in:
14
src/templates/mixins/components.pug
Normal file
14
src/templates/mixins/components.pug
Normal file
@@ -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
|
Reference in New Issue
Block a user