diff options
| -rw-r--r-- | layouts/partials/footer.html | 4 | ||||
| -rw-r--r-- | layouts/partials/header.html | 10 | ||||
| -rw-r--r-- | layouts/partials/top-block.html | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1eb3f85..94f892d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -17,8 +17,8 @@ <!-- Bootstrap core JavaScript --> <!-- Placed at the end of the document so the pages load faster --> -<script src="/js/jquery-2.1.1.min.js"></script> -<script src="/js/owl.carousel.min.js"></script> +<script src="{{ .Site.BaseURL }}js/jquery-2.1.1.min.js"></script> +<script src="{{ .Site.BaseURL }}js/owl.carousel.min.js"></script> <!--<script src="/js/bootstrap.min.js"></script>--> <script> $(function() { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 5fdac85..f832f7d 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,14 +9,14 @@ <title>{{ .Title }}</title> <!-- Bootstrap core CSS --> - <link href="/css/bootstrap-theme.css" rel="stylesheet"> + <link href="{{ .Site.BaseURL }}css/bootstrap-theme.css" rel="stylesheet"> <link href='http://fonts.googleapis.com/css?family=Arbutus+Slab&family=Cabin:600&family=Source+Code+Pro' rel='stylesheet' type='text/css'> <!-- Add custom CSS here --> - <link href="/css/HPstyles.css" rel="stylesheet"> - <link href="/css/hugofont.css" rel="stylesheet"> - <link href="/css/owl.carousel.css" rel="stylesheet"> - <link href="/css/owl.theme.default.css" rel="stylesheet"> + <link href="{{ .Site.BaseURL }}css/HPstyles.css" rel="stylesheet"> + <link href="{{ .Site.BaseURL }}css/hugofont.css" rel="stylesheet"> + <link href="{{ .Site.BaseURL }}css/owl.carousel.css" rel="stylesheet"> + <link href="{{ .Site.BaseURL }}css/owl.theme.default.css" rel="stylesheet"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> </head> diff --git a/layouts/partials/top-block.html b/layouts/partials/top-block.html index 3360684..e716c62 100644 --- a/layouts/partials/top-block.html +++ b/layouts/partials/top-block.html @@ -2,7 +2,7 @@ <!-- Full Page Image Header Area -->
<div id="top" class="header">
<div class="vert-text">
- <a href="#intro"><img src="{{ .Site.Params.mainIcon }}" class="logo"></a>
+ <a href="#intro"><img src="{{ .Site.BaseURL }}{{ .Site.Params.mainIcon }}" class="logo"></a>
<div class="siteTitle">{{ .Site.Title }}</div>
<div class="description">{{ .Site.Params.description }}</div>
<div class="buttonbox">
|
