Merge pull request #6 from cfchou/master

add BaseURL for js and css
This commit is contained in:
Aurélien Baumann 2017-06-28 19:48:31 +02:00 committed by GitHub
commit 8666ec20a6
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
<script src="js/theme.min.js" type="text/javascript"></script>
<script src="{{ .Site.BaseURL }}/js/theme.min.js" type="text/javascript"></script>
{{ template "_internal/google_analytics.html" . }}

View File

@ -11,4 +11,4 @@
{{ .Hugo.Generator }}
{{ partial "highlightjs.html" }}
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" rel="stylesheet" type="text/css">
<link href="{{ .Site.BaseURL }}css/theme.min.css" rel="stylesheet" type="text/css">
<link href="{{ .Site.BaseURL }}/css/theme.min.css" rel="stylesheet" type="text/css">