diff options
Diffstat (limited to '')
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | _includes/custom-sidebar.html | 0 | ||||
-rw-r--r-- | _includes/jekyll-theme/sidebar.html | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -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 %} |