aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 14:18:44 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 14:18:44 +0300
commit536e704b5e47d72b61c91e66eea83790cacf629f (patch)
treeda13c6fa9e4e29654d4eaf6c1f0a31029ceaaf1f
parentcategories.html: fix broken links (diff)
downloadjekyll-theme-536e704b5e47d72b61c91e66eea83790cacf629f.tar.gz
jekyll-theme-536e704b5e47d72b61c91e66eea83790cacf629f.zip
add <hr>s where appropriate
Diffstat (limited to '')
-rw-r--r--_layouts/category.html3
-rw-r--r--categories.html1
2 files changed, 3 insertions, 1 deletions
diff --git a/_layouts/category.html b/_layouts/category.html
index 6a5f100..dd9fcb6 100644
--- a/_layouts/category.html
+++ b/_layouts/category.html
@@ -1,7 +1,8 @@
---
layout: default
---
-<h1>Category: {{ page.title }}</h1>
+<h1>{{ page.title }}</h1>
+<hr>
<p>This is a list of posts in the "{{ page.category }}" category.</p>
{% if site.categories[page.category].size > 0 %}
<ul>
diff --git a/categories.html b/categories.html
index 876992f..5e42458 100644
--- a/categories.html
+++ b/categories.html
@@ -8,6 +8,7 @@ navbar_priority: 2
---
{% for category in site.categories %}
<h1><a class="category" href="{{ site.baseurl }}/{{ category[0] | slugify: 'pretty' }}">{{ category[0] }}</a></h1>
+ <hr>
<ul>
{% for post in category[1] %}
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>