From 7e785465161ff3ca43c4e37c9caf1d94d5078bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Sat, 9 Aug 2014 14:49:36 -0700 Subject: [PATCH] Change links system for sidebar --- lib/generate/config.js | 10 +------- theme/templates/includes/book/summary.html | 27 +++------------------- 2 files changed, 4 insertions(+), 33 deletions(-) diff --git a/lib/generate/config.js b/lib/generate/config.js index 13a95affb..a250a3c37 100644 --- a/lib/generate/config.js +++ b/lib/generate/config.js @@ -42,16 +42,8 @@ var CONFIG = { // Links in template (null: default, false: remove, string: new value) "links": { - // Link to home in the top-left corner - "home": null, - - // Links in top of sidebar - "about": null, - "issues": null, - "contribute": null, - // Custom links at top of sidebar - "custom": { + "sidebar": { //"Custom link name": "https://customlink.com" }, diff --git a/theme/templates/includes/book/summary.html b/theme/templates/includes/book/summary.html index c5cdb1f7b..d2917b97e 100644 --- a/theme/templates/includes/book/summary.html +++ b/theme/templates/includes/book/summary.html @@ -38,32 +38,11 @@