From a1b1bd940266c360177efec9869a5ef8e49e01e8 Mon Sep 17 00:00:00 2001 From: "HE, Tao" Date: Sun, 28 Apr 2019 19:30:47 +0800 Subject: [PATCH] Fix site URL and base URL. Signed-off-by: HE, Tao --- _config.yml | 4 ++-- _includes/footer.html | 8 ++++---- _includes/head.html | 10 +++++----- _includes/metadata.json.tpl | 4 ++-- _includes/toc-date.html | 12 ++++++------ _layouts/home.html | 4 ++-- _layouts/post.html | 12 ++++++------ 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/_config.yml b/_config.yml index a27cd94..8949087 100644 --- a/_config.yml +++ b/_config.yml @@ -9,8 +9,8 @@ description: > version: 1.0 gitbook_version: 3.2.3 -url: 'https://sighingnow.github.io/jekyll-gitbook' -baseurl: '' +url: 'https://sighingnow.github.io' +baseurl: '/jekyll-gitbook' rss: RSS # markdown render engine. diff --git a/_includes/footer.html b/_includes/footer.html index d2b304e..4ac86b9 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,8 +1,8 @@ - - + + - - + + - + - - \ No newline at end of file + + \ No newline at end of file diff --git a/_includes/metadata.json.tpl b/_includes/metadata.json.tpl index b752520..96cbe92 100644 --- a/_includes/metadata.json.tpl +++ b/_includes/metadata.json.tpl @@ -73,10 +73,10 @@ "type": "markdown" }, "gitbook": { - "version": "{{site.url}}", + "version": "{{site.gitbook_version}}", "time": "{{site.time}}" }, - "basePath": "{{site.url}}", + "basePath": "{{site.baseurl}}", "book": { "language": "" } diff --git a/_includes/toc-date.html b/_includes/toc-date.html index 6234109..2ddbed1 100644 --- a/_includes/toc-date.html +++ b/_includes/toc-date.html @@ -5,11 +5,11 @@