diff --git a/_data/categories.yml b/_data/categories.yml index fa63c9a..9efe06e 100644 --- a/_data/categories.yml +++ b/_data/categories.yml @@ -1,19 +1,14 @@ - slug: general name: General - color: '#3498db' - slug: conference name: Conference - color: '#1abc9c' - slug: howto name: Howto - color: '#1abc9c' - slug: api name: API - color: '#1abc9c' - slug: product name: Product - color: '#1abc9c' diff --git a/_layouts/post.html b/_layouts/post.html index d6e25bf..5de6c54 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -15,7 +15,7 @@ layout: default {% endif %} {% endfor %} {% if category %} - {% capture category_content %} in {{ category.name }}{% endcapture %} + {% capture category_content %} in {{ category.name }}{% endcapture %} {% endif %} {% else %} {% assign category_content = '' %} diff --git a/_layouts/post_by_category.html b/_layouts/post_by_category.html index 5ea5564..fe4dbae 100644 --- a/_layouts/post_by_category.html +++ b/_layouts/post_by_category.html @@ -3,7 +3,7 @@ layout: default ---
-

{{site.data.categories[page.category].name}}

+

{{page.title}}

Articles by category diff --git a/meta/category/general.md b/meta/category/general.md index 8750916..053e765 100644 --- a/meta/category/general.md +++ b/meta/category/general.md @@ -1,6 +1,6 @@ --- layout: post_by_category -title: 'Articles by category: general' +title: General category: general permalink: /meta/category/general/ ---