From e06bbeaa033097f469085b476d3b68509ab1ed38 Mon Sep 17 00:00:00 2001 From: Chester How Date: Sun, 8 Oct 2017 02:50:44 +0800 Subject: [PATCH] Configure baseurl --- README.md | 2 +- _config.yml | 4 ++-- _layouts/default.html | 2 +- _layouts/post.html | 4 ++-- _posts/2017-03-29-introducing-tale.md | 2 +- index.html | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e646f9a..1c87aad 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ To test your site locally, run this in your site's root directory $ jekyll serve --watch ``` -Head to http://localhost:4000 to see your site in action. +Head to http://localhost:4000/tale/ to see your site in action. ## Contributing Found a bug or have a suggestion? Feel free to create an issue or make a pull request! diff --git a/_config.yml b/_config.yml index 8593075..7b9ce15 100644 --- a/_config.yml +++ b/_config.yml @@ -4,8 +4,8 @@ permalink: /:year-:month-:day/:title # Setup title: Tale paginate: 5 -baseurl: "" -url: "https://chesterhow.github.io/tale" +baseurl: "/tale" +url: "https://chesterhow.github.io" # Assets sass: diff --git a/_layouts/default.html b/_layouts/default.html index 9306653..32471ce 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,7 +10,7 @@ diff --git a/_layouts/post.html b/_layouts/post.html index 4ee814d..b46efa7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -21,10 +21,10 @@ layout: default