Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zhaohuabing/hugo-theme-cleanwhite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-07-08 09:56:45 +0300
committerHuabing Zhao <zhaohuabing@gmail.com>2018-07-08 09:56:52 +0300
commit6330d47221603b20f1b9fef400e542dfe5a8b1aa (patch)
treeba4b51c813476932756aa1f11d2553d8e4353078 /exampleSite
parent1951427acb60c24ff1d051ea1881b252d78aee8e (diff)
Fix 404 errors when hosting in a subdir
Remove leading splash in URLs Remove trailing splash in config file Issue-ID: https://github.com/gohugoio/hugoThemes/issues/374 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml10
1 files changed, 5 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index a4f134b..afe86e2 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -13,13 +13,13 @@ hasCJKLanguage = true
home = ["HTML", "RSS", "Algolia"]
[params]
- header_image = "/img/home-bg-jeep.jpg"
+ header_image = "img/home-bg-jeep.jpg"
SEOTitle = "赵化冰的博客 | Zhaohuabing Blog"
description = "赵化冰,程序员, 开源爱好者,生活探险家 | 这里是 赵化冰 的博客,与你一起发现更大的世界。"
keyword = "赵化冰, zhaohuabing, Zhaohuabing, , 赵化冰的网络日志, 赵化冰的博客, Zhaohuabing Blog, 博客, 个人网站, 互联网, Web, 云原生, PaaS, Istio, Kubernetes, 微服务, Microservice"
slogan = "路在脚下,心向远方"
- image_404 = "/img/404-bg.jpg"
+ image_404 = "img/404-bg.jpg"
title_404 = "你来到了没有知识的荒原 :("
# leancloud storage for page view counter
@@ -35,7 +35,7 @@ home = ["HTML", "RSS", "Algolia"]
# Sidebar settings
sidebar_about_description = "Software Developer, Open Source Enthusiast and Life Adventurer"
- sidebar_avatar = "/img/avatar-zhaohuabing.jpg" # use absolute URL, seeing it's used in both `/` and `/about/`
+ sidebar_avatar = "img/avatar-zhaohuabing.jpg" # use absolute URL, seeing it's used in both `/` and `/about/`
featured_tags = true
featured_condition_size = 2
@@ -72,10 +72,10 @@ home = ["HTML", "RSS", "Algolia"]
href = "http://www.servicemesh.cn"
[[params.bookmark_link]]
title = "Awesome Service Mesh"
- href = "https://servicemesh.gitbooks.io/awesome-servicemesh/"
+ href = "https://servicemesh.gitbooks.io/awesome-servicemesh"
[[params.bookmark_link]]
title = "Image Compression"
- href = "https://tinypng.com/"
+ href = "https://tinypng.com"
[outputFormats.Algolia]
baseName = "algolia"