1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 09:54:24 +04:00

remove include_cached

This commit is contained in:
codecalm
2020-01-01 22:24:34 +01:00
parent 96d526f4c9
commit a0dd18c65a
109 changed files with 472 additions and 477 deletions

View File

@@ -8,25 +8,25 @@ menu: extra.blog
{% for article in site.data.articles limit: 3 %}
<div class="col-sm-6 col-xl-4">
{% include_cached cards/blog-single.html article=article id=forloop.index type="image" liked=true %}
{% include cards/blog-single.html article=article id=forloop.index type="image" liked=true %}
</div>
{% endfor %}
{% for article in site.data.articles limit: 3 offset: 4 %}
<div class="col-sm-6 col-xl-4">
{% include_cached cards/blog-single.html article=article id=forloop.index %}
{% include cards/blog-single.html article=article id=forloop.index %}
</div>
{% endfor %}
{% for article in site.data.articles limit: 2 %}
<div class="col-sm-6">
{% include_cached cards/blog-single.html article=article type="aside" %}
{% include cards/blog-single.html article=article type="aside" %}
</div>
{% endfor %}
{% for article in site.data.articles limit: 2 offset: 4 %}
<div class="col-sm-6">
{% include_cached cards/blog-single.html article=article type="aside" aside-class="w-50" truncate=200 %}
{% include cards/blog-single.html article=article type="aside" aside-class="w-50" truncate=200 %}
</div>
{% endfor %}