use markdownFormat filter and new tag approach on home, remove todo from blog.
This commit is contained in:
parent
075f8b9d52
commit
13463917ed
2 changed files with 9 additions and 5 deletions
|
|
@ -34,13 +34,11 @@ layout: base
|
|||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div slot="content" webc:nokeep>{{ item.data.description | markdownFormat | safe }}</div>
|
||||
<div slot="content" webc:nokeep>{{ item.data.description | markdownFormat | safe }}</div>
|
||||
</custom-card>
|
||||
{% endfor %}
|
||||
</custom-masonry>
|
||||
|
||||
<!-- TODO: pagination is reversed. -->
|
||||
|
||||
<!-- set collection to paginate -->
|
||||
{% set collectionToPaginate = collections.posts %}
|
||||
<!-- set target pagination settings in meta.js -->
|
||||
|
|
|
|||
|
|
@ -39,9 +39,15 @@ layout: base
|
|||
if
|
||||
item.data.tags.length > 1
|
||||
%}
|
||||
<span slot="tag" class="button post-tag">{{ item.data.tags[1] }}</span>
|
||||
<div slot="tag" webc:nkoeep>
|
||||
{% for tag in item.data.tags %}
|
||||
{% if tag != "posts" %}
|
||||
<span class="button post-tag">{{ tag }}</span>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<p slot="content">{{ item.data.description }}</p>
|
||||
<div slot="content" webc:nokeep>{{ item.data.description | markdownFormat | safe }}</div>
|
||||
</custom-card>
|
||||
{% endfor %}
|
||||
</custom-masonry>
|
||||
|
|
|
|||
Loading…
Reference in a new issue