Pug Components: category_list_item component.
Taken from Pillar. Used in Libraries, Training, etc.
This commit is contained in:
@@ -12,3 +12,19 @@ mixin category_list_header(title, text, url)
|
|||||||
block
|
block
|
||||||
|
|
||||||
hr.my-4
|
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
|
||||||
|
Reference in New Issue
Block a user