make paths relative to baseurl works

master
David Kebler 2017-03-28 16:59:10 -07:00
parent 3589cbd93a
commit aa11f9f84a
2 changed files with 7 additions and 7 deletions

View File

@ -23,5 +23,5 @@
<!-- Custom/Override CSS files --> <!-- Custom/Override CSS files -->
{{ range .Site.Params.custom_css }} {{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}"> <link rel="stylesheet" href="{{ . }}">
{{ end }} {{ end }}

View File

@ -9,16 +9,16 @@
<!-- Function Library --> <!-- Function Library -->
<!-- sizing tools --> <!-- sizing tools -->
<script src="js/fitToParent.js"></script> <script src="/js/fitToParent.js"></script>
<script src="js/flowType.js"></script> <script src="/js/flowType.js"></script>
<!-- development tools --> <!-- development tools -->
<script src="js/lorem.js"></script> <script src="/js/lorem.js"></script>
{{ if isset .Site.Params "googleAnalytics" }} {{ if isset .Site.Params "googleAnalytics" }}
<script src="js/analytics.js"></script> <script src="/js/analytics.js"></script>
{{ end }} {{ end }}
<!-- site specific functions for page use --> <!-- site specific functions for page use -->
<script src="js/page.js"></script> <script src="/js/page.js"></script>
<!-- Document Ready - Initialize - Window resize calls --> <!-- Document Ready - Initialize - Window resize calls -->
<script src="js/docready.js"></script> <script src="/js/docready.js"></script>