diff --git a/config.toml b/config.toml index efc590f585fde51d1eaf5582d91bcc355d508c5d..e0e17319c59aa262b031bd215a9f56368ffc32f9 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,9 @@ baseURL = "http://root.gitcode.host/1024/" +#baseURL = "" languageCode = "zh" title = "1024大会PPT集锦" theme = ["hugo-theme-learn", "hugo-theme-pdf-js"] +canonifyURLs = true #uglyurls = true [[menu.shortcuts]] diff --git a/content/chapter_01/test2.md b/content/chapter_01/test2.md index e1a5f75487a12c66e8f12de5a62fa597bb21d85e..464fe53c9db58431ce3f511c7e3177250e604204 100644 --- a/content/chapter_01/test2.md +++ b/content/chapter_01/test2.md @@ -11,7 +11,7 @@ Gooooooooood ! #### 测试图片 根目录 -![图片2](chapter_01/test2.files/bg2.png) +![图片2](/chapter_01/test2.files/bg2.png) 相对路径 ![图片2](../test2.files/bg1.png) diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html index 5b9d914d8bb7a9fc674f752b6d4385ee365e7b3e..1646f7d1c69ea0fb6435cc5aa984b449a2266d81 100644 --- a/layouts/partials/logo.html +++ b/layouts/partials/logo.html @@ -1,2 +1,2 @@ - +