Implementing tag filters

This commit is contained in:
Lucas Cimon
2017-08-14 22:18:28 +02:00
parent 89ff3dee70
commit 8d5d7491bc
9 changed files with 78 additions and 50 deletions

View File

@@ -1,4 +1,5 @@
<article itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost">
<article class="uk-article" itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost"
data-tags='{{ article.tags|map(attribute='name')|list|tojson }}'>
<div class="mg-article-short">
{% if article.featured_image %}
<img class="mg-article-image" src="{{ article.featured_image }}" alt="">