aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--_includes/custom-sidebar.html0
-rw-r--r--_includes/jekyll-theme/sidebar.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3fff7a9..1d40014 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,8 @@ The sidebar includes two entries by default: "About" and "Latest posts".
Hide them individually by setting `sidebar.{about,latest_posts}.hide` to `true`
(either under `site.settings` or `page`).
+Add content to the sidebar by putting it in your _includes/custom-sidebar.html.
+
### Feed
See [feed/index.html] for an example of how to easily create a paginated post
diff --git a/_includes/custom-sidebar.html b/_includes/custom-sidebar.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/_includes/custom-sidebar.html
diff --git a/_includes/jekyll-theme/sidebar.html b/_includes/jekyll-theme/sidebar.html
index 0879248..429bb32 100644
--- a/_includes/jekyll-theme/sidebar.html
+++ b/_includes/jekyll-theme/sidebar.html
@@ -2,5 +2,6 @@
<div class="row">
{% include jekyll-theme/sidebar/about.html %}
{% include jekyll-theme/sidebar/latest-posts.html %}
+ {% include custom-sidebar.html %}
</div>
{% endunless %}