Sha256: 79e06f9a10b6782cef72b9dd49c717e3af17ca407dc24569b7afadbdc7241b2e

Contents?: true

Size: 1.12 KB

Versions: 11

Compression:

Stored size: 1.12 KB

Contents

{%-if site.plugins contains 'jekyll-archives'-%}{%-assign archives_available = true-%}{%-else-%}{%-assign archives_available = false-%}{%-endif-%}
{%-assign categories = post.categories | default: project.categories | default: pg.categories | default: item.categories | default: page.categories-%}
{%-assign include_category_links = "posts" | split: ', '-%}
                {%-if categories.first and categories != empty %}
                <!-- Categories -->
                <ul class="{{-include.list_class | append: ' '-}}inline csv categories">
                  {%-for category in categories %}
                    {%-if archives_available and site.categories contains category or include_category_links contains page.collection %}
                  <li><a href="/categories/{{-category | slugify-}}" rel="tag" class="p-category" title="Articles filed under '{{-category | capitalize-}}'">{{-category | capitalize-}}</a></li>
                    {%-else-%}
                  <li class="p-category">{{-category | capitalize-}}</li>
                    {%-endif %}
                  {%-endfor %}
                </ul>
                {%-endif %}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jekyll-theme-editorial-1.0.11 _includes/categories.html
jekyll-theme-editorial-1.0.10 _includes/categories.html
jekyll-theme-editorial-1.0.9 _includes/categories.html
jekyll-theme-editorial-1.0.8 _includes/categories.html
jekyll-theme-editorial-1.0.7 _includes/categories.html
jekyll-theme-editorial-1.0.6 _includes/categories.html
jekyll-theme-editorial-1.0.5 _includes/categories.html
jekyll-theme-editorial-1.0.4 _includes/categories.html
jekyll-theme-editorial-1.0.3 _includes/categories.html
jekyll-theme-editorial-1.0.2 _includes/categories.html
jekyll-theme-editorial-1.0.1 _includes/categories.html