fix: add tags
This commit is contained in:
@@ -7,6 +7,9 @@ image:
|
||||
type: 'hash'
|
||||
content:
|
||||
type: 'string'
|
||||
tags:
|
||||
type: 'array'
|
||||
default: []
|
||||
---
|
||||
|
||||
|
||||
@@ -17,6 +20,9 @@ content:
|
||||
<small class="fst-italic">
|
||||
{{ words | divided_by: 180.0 | round | at_least: 1 }} min read
|
||||
</small>
|
||||
{% for tag in tags %}
|
||||
<span class="card-link bg-body-color rounded-3 px-2 py-1 text-white">{{- tag -}}</span>
|
||||
{% endfor %}
|
||||
{% render 'sutty/picture.html',
|
||||
image:,
|
||||
img_class: 'w-100 rounded-3'
|
||||
|
||||
Reference in New Issue
Block a user