提交 21858b1e 编写于 作者: Y yyexplore

path.Join .Site.BaseURL for pdf url

上级 77ba4e9a
......@@ -3,7 +3,7 @@
<div id="embed-pdf-view">
</div>
{{ $url1 := .Get "url" }}
{{ $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.
先完成此消息的编辑!
想要评论请 注册