提交 2e28b888 编写于 作者: Y yyexplore

add base in header

上级 b1326108
......@@ -3,7 +3,7 @@ baseURL = "http://root.gitcode.host/1024/"
languageCode = "zh"
title = "1024大会PPT集锦"
theme = ["hugo-theme-learn", "hugo-theme-pdf-js"]
canonifyURLs = true
#canonifyURLs = true
#uglyurls = true
[[menu.shortcuts]]
......
<!-- Partial intended to be overwritten to add custom headers, like CSS or any other info-->
<base href="{{ .Site.BaseURL }}">
\ No newline at end of file
......@@ -3,7 +3,9 @@
<div id="embed-pdf-view">
</div>
{{ $url1 := .Get "url" | path.Join .Site.BaseURL}}
{{ $url1 := .Get "url" | path.Join .Site.BaseURL }}
<script type="text/javascript">
window.onload = function() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册