diff --git a/src/templates/mixins/components.pug b/src/templates/mixins/components.pug index 1caac3c..ae4c037 100644 --- a/src/templates/mixins/components.pug +++ b/src/templates/mixins/components.pug @@ -12,3 +12,19 @@ mixin category_list_header(title, text, url) block hr.my-4 + +//- List Item +mixin category_list_item(title, text, url, image) + .row.pb-2.my-2 + .col-md-3 + a(href=url, title=title) + img.img-fluid.rounded(alt=title, src=image) + .col-md-9 + a(href=url, title=title) + h3.font-weight-bold + =title + .lead + =text + + if block + block