Sha256: 1eacc11d48818f5d050055534e4ccb1566992a3279a2cf01dbd610ae8522e0ee

Contents?: true

Size: 636 Bytes

Versions: 6

Compression:

Stored size: 636 Bytes

Contents

---
layout: default
---

{% comment %}
  Mostrar en la portada solo las categorías principales, es decir las
  que no tienen categorías anteriores.
{% endcomment %}
{%- assign categories = site.posts | where: 'layout', 'category' | where: 'category_previous', nil -%}

<section id="{{ site.i18n.categories.id }}">
  <div class="row justify-content-center">
    {%- for category in categories -%}
      <div class="col-12 col-md-6 mb-3">
        <a
          class="btn btn-recursero btn-block btn-lg"
          href="{{ category.url }}">
          {{ category.title }}
        </a>
      </div>
    {%- endfor -%}
  </div>
</section>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
recursero-jekyll-theme-0.3.0 _layouts/home.html
recursero-jekyll-theme-0.2.0 _layouts/home.html
recursero-jekyll-theme-0.1.3 _layouts/home.html
recursero-jekyll-theme-0.1.2 _layouts/home.html
recursero-jekyll-theme-0.1.1 _layouts/home.html
recursero-jekyll-theme-0.1.0 _layouts/home.html