aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/categories/all.html1
-rw-r--r--_includes/posts/feed.html1
-rw-r--r--_layouts/default.html4
-rw-r--r--_layouts/page.html1
4 files changed, 5 insertions, 2 deletions
diff --git a/_includes/categories/all.html b/_includes/categories/all.html
index e21b3f6..32b8ad7 100644
--- a/_includes/categories/all.html
+++ b/_includes/categories/all.html
@@ -1,6 +1,5 @@
{% if site.posts.size == 0 %}
<p>Sorry, no posts have been added yet.</p>
- <hr/>
{% else %}
{% for category in site.categories %}
<h1><a class="category" href="{{ '/' | relative_url }}{{ category[0] | slugify: 'pretty' }}/">{{ category[0] }}</a></h1>
diff --git a/_includes/posts/feed.html b/_includes/posts/feed.html
index 14cc41e..4b4ea8b 100644
--- a/_includes/posts/feed.html
+++ b/_includes/posts/feed.html
@@ -1,6 +1,5 @@
{% if site.posts.size == 0 %}
<p class="h3">Sorry, no posts have been added yet.</p>
- <hr/>
{% else %}
{% for post in paginator.posts %}
<div class="post-entry">
diff --git a/_layouts/default.html b/_layouts/default.html
index f151314..caa95f1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -2,6 +2,10 @@
<div class="row">
<div class="col-md-8">
{{ content }}
+ {% unless site.settings.sidebar.hide or page.sidebar.hide %}
+ {% comment %}Separate the content from the sidebar on narrow screens.{% endcomment %}
+ <hr/>
+ {% endunless %}
</div>
<div class="col-md-4">
{% include common/sidebar.html %}
diff --git a/_layouts/page.html b/_layouts/page.html
index 11c37a1..090100f 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,4 +2,5 @@
layout: default
---
<h1>{{ page.title }}</h1>
+<hr/>
{{ content }}