diff options
author | Murali Mohan Rath <murali@mmrath.com> | 2016-12-17 15:37:14 +0300 |
---|---|---|
committer | Murali Mohan Rath <murali@mmrath.com> | 2016-12-17 15:37:14 +0300 |
commit | da746602ee1f6c7b668c2b66ccfa2d1a55c49ad2 (patch) | |
tree | 3b965f6136cff523f0bc78d3870bf77799942e0d | |
parent | 7276073ecd46248a54ffccf545c8bccbe891e021 (diff) |
change to reflect correct script tag in demo
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/base/metas.html | 4 | ||||
-rw-r--r-- | layouts/partials/base/scripts.html | 10 | ||||
-rw-r--r-- | layouts/partials/head.html | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 971d780..27fd2fe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseurl = "http://hugo.spf13.com/" +baseurl = "http://themes.gohugo.io/theme/bootstrap/" languageCode = "en-us" title = "Hugo Themes" author = "Steve Francia" diff --git a/layouts/partials/base/metas.html b/layouts/partials/base/metas.html index 48a9473..d466772 100644 --- a/layouts/partials/base/metas.html +++ b/layouts/partials/base/metas.html @@ -67,7 +67,7 @@ {{ end }} <link rel="canonical" href="{{ .Permalink }}" /> -<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "/touch-icon-144-precomposed.png" | absURL }}"> -<link href="{{ "/favicon.ico" | absURL }}" rel="icon"> +<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ .Site.BaseURL }}touch-icon-144-precomposed.png"> +<link href="{{ .Site.BaseURL }}favicon.ico" rel="icon"> {{ .Hugo.Generator }} diff --git a/layouts/partials/base/scripts.html b/layouts/partials/base/scripts.html index ce42d9f..cf049ac 100644 --- a/layouts/partials/base/scripts.html +++ b/layouts/partials/base/scripts.html @@ -1,7 +1,7 @@ -<script src="{{ "/assets/js/jquery.min.js" | absURL }}"></script> -<script src="{{ "/assets/js/tether.min.js" | absURL }}"></script> -<script src="{{ "/assets/js/bootstrap.min.js" | absURL }}"></script> -<script src="{{ "/assets/js/highlight.pack.js" | absURL }}"></script> +<script src="{{ .Site.BaseURL }}assets/js/jquery.min.js"></script> +<script src="{{ .Site.BaseURL }}assets/js/tether.min.js"></script> +<script src="{{ .Site.BaseURL }}assets/js/bootstrap.min.js"></script> +<script src="{{ .Site.BaseURL }}assets/js/highlight.pack.js"></script> <script>hljs.initHighlightingOnLoad();</script> @@ -9,7 +9,7 @@ <script id="dsq-count-scr" src="//{{ . }}.disqus.com/count.js" async></script> {{ end }} -<script src="{{ "/assets/js/script.js" | absURL }}"></script> +<script src="{{ .Site.BaseURL }}assets/js/script.js"></script> {{ with .Site.Params.googleAnalytics }} <script> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a237fce..6985114 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,10 +6,10 @@ {{ partial "base/metas" . }} - <link rel="stylesheet" href="{{ "/assets/css/bootstrap.min.css" | absURL }}"> - <link rel="stylesheet" href="{{ "/assets/css/font-awesome.min.css" | absURL }}"> - <link rel="stylesheet" href="{{ "/assets/css/style.css" | absURL }}"> - <link rel="stylesheet" href="{{ "/assets/css/tomorrow-night.css" | absURL }}"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/bootstrap.min.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/font-awesome.min.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/style.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/tomorrow-night.css"> <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'> </head> <body class="bg-faded"> |