From 14fc3a8d4fb9eff65f708648e0294fc6fe83d346 Mon Sep 17 00:00:00 2001 From: kntmrkm Date: Sat, 13 Feb 2016 12:08:37 +0900 Subject: [PATCH] Add option --- README.md | 3 +++ _footer.html | 8 ++++---- _header.html | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 43bd4d7..ed59602 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,9 @@ js_include: # The global title that is displayed at the top of the pages global_title: Styleguide +# The prefix path for theme's assets +theme_path_prefix: 'styleguides' + ``` In this example the markdown file `app/styles/styleguide.md` is used for the content on the index page. Also, if you're using Bower, adjust the package path accordingly: ```documentation_assets: bower_components/hologram-github-theme```. diff --git a/_footer.html b/_footer.html index 929483a..f616c2a 100644 --- a/_footer.html +++ b/_footer.html @@ -8,10 +8,10 @@ - - - - + + + + <% if @config['js_include'].to_s.strip.length != 0 %> <% @config['js_include'].each do |js| %> diff --git a/_header.html b/_header.html index 2fc9bcf..9243eea 100644 --- a/_header.html +++ b/_header.html @@ -6,8 +6,8 @@ <%= title %> <% if title != '' %>–<% end %> <%= @config['global_title'] %> - - + + <% if @config['css_include'].to_s.strip.length != 0 %>