aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/category.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 03:04:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 03:04:08 +0300
commit133ce84fd2e565df767ecd0814891965c9d2a94d (patch)
tree467eae23a5021490af84eb92c9deebda9839c562 /_layouts/category.html
parentwork around GitHub limitations for MathJax support (diff)
downloadblog-133ce84fd2e565df767ecd0814891965c9d2a94d.tar.gz
blog-133ce84fd2e565df767ecd0814891965c9d2a94d.zip
inherit layouts from default.html
Diffstat (limited to '_layouts/category.html')
-rw-r--r--_layouts/category.html30
1 files changed, 12 insertions, 18 deletions
diff --git a/_layouts/category.html b/_layouts/category.html
index b0167a7..fa50437 100644
--- a/_layouts/category.html
+++ b/_layouts/category.html
@@ -1,18 +1,12 @@
-{% include common/header.html %}
-<div class="row">
- <div class="col-md-8">
- <h1>Category: {{ page.title }}</h1>
- <p>This is a complete list of posts in the "{{ page.category }}" category.</p>
- {% if site.categories[page.category].size > 0 %}
- <ul>
- {% for post in site.categories[page.category] %}
- <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- </div>
- <div class="col-md-4">
- {% include common/sidebar.html %}
- </div>
-</div>
-{% include common/footer.html %}
+---
+layout: default
+---
+<h1>Category: {{ page.title }}</h1>
+<p>This is a complete list of posts in the "{{ page.category }}" category.</p>
+{% if site.categories[page.category].size > 0 %}
+ <ul>
+ {% for post in site.categories[page.category] %}
+ <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+{% endif %}