Pug Components: category_list_item component.

Taken from Pillar. Used in Libraries, Training, etc.
This commit is contained in:
2019-04-03 15:29:14 +02:00
parent 1d7cbd8ba5
commit 3f3112f272

View File

@@ -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