From 53c4f18c126599b39235f950f1805700a325d4e9 Mon Sep 17 00:00:00 2001 From: "parsiya@gmail.com" Date: Sat, 9 Apr 2016 21:03:50 -0400 Subject: Add sidebar section links to readme --- README.md | 9 +++++++++ sample-config.toml | 10 +++++----- 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 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
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 -- cgit v1.2.3