From 7735e5d57c3a2e1f3e73ffa7058dfeb55c1df155 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Thu, 12 May 2016 11:30:17 +0800 Subject: [PATCH] Add site.prefix config --- _config.yml | 2 ++ _layouts/default.html | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/_config.yml b/_config.yml index 117a7e9..9d9185e 100644 --- a/_config.yml +++ b/_config.yml @@ -4,6 +4,8 @@ title: 'Welcome to the LEDE project' exclude: [ 'Gemfile', 'Gemfile.lock', 'Rakefile', 'README' ] +prefix: '/' + asciidoctor: attributes: - idseparator=_ diff --git a/_layouts/default.html b/_layouts/default.html index 2ce1039..a5d4f19 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -14,12 +14,12 @@ - - - - - - + + + + + + @@ -31,7 +31,7 @@
  • - + {{page.title}}

    @@ -94,13 +94,13 @@ - - + + - - + +