Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya@gmail.com <parsiya@gmail.com>2016-04-10 04:03:50 +0300
committerparsiya@gmail.com <parsiya@gmail.com>2016-04-10 04:03:50 +0300
commit53c4f18c126599b39235f950f1805700a325d4e9 (patch)
treec9ebfd484a6200b732e4ba633f11a8f779b048c8
parenta40d7c6a01439ff0592747fd24313c45d955559d (diff)
Add sidebar section links to readme
-rw-r--r--README.md9
-rw-r--r--sample-config.toml10
2 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index c8b4d7b..7c61364 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,10 @@ Hugo-Octopress is a port of the classic [Octopress][octopress-link] theme to [Hu
- [Markdown options](#markdown)
- [CSS override](#cssoverride)
- [Sidebar](#sidebarlinks)
+ - [Sidebar text](#sidebartext)
+ - [Social network icons](#sidebarsocial)
+ - [Sidebar menu](#sidebarmenu)
+ - [Recent posts](#sidebarrecent)
- [Shortcodes](#shortcodes)
- [Code caption](#codecaption)
- [Image caption](#imgcap)
@@ -67,6 +71,11 @@ post = "/blog/:year-:month-:day-:title/"
Third line
"""
+ # sidebar menu
+ # if true will add a sidebar menu between sidebar text and recent posts
+ sidebar_menu_enabled = true
+ sidebar_menu_header = "Sidebar Links"
+
# if false, all of posts' content will appear on front page (and in pagination) - not recommended
# be sure to use the <!--more--> delimiter
truncate = true
diff --git a/sample-config.toml b/sample-config.toml
index a90c66a..290813d 100644
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -71,11 +71,6 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the
# sidebar customization - passed to markdownify
sidebar_header = "Sidebar Header"
- # sidebar menu
- # if true will add a sidebar menu between sidebar text and recent posts
- sidebar_menu_enabled = true
- sidebar_menu_header = "Sidebar Links"
-
# sidebar text supports markdown
# new lines can be added with </br> or normal markdown (two spaces at the end of line or two new lines).
# when adding two new lines, remember to remove the indentation otherwise the new line will be treated as a codeblock
@@ -86,6 +81,11 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the
Third line
"""
+ # sidebar menu
+ # if true will add a sidebar menu between sidebar text and recent posts
+ sidebar_menu_enabled = true
+ sidebar_menu_header = "Sidebar Links"
+
# if false, all of the post will appear on front page (and in pagination)
truncate = true