diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2019-01-08 21:42:22 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2019-01-09 19:48:30 +0300 |
commit | dbb375d3815d4673d2b95c2a8a0e08ca3cd710e5 (patch) | |
tree | 9f765505ff3102880b3cf168cfc40f055db18645 /layouts | |
parent | d082bd9dc1a50f90d067f8795ffa8f7bebb97fd4 (diff) |
fix favicon url
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4471e92..5162390 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,10 +21,12 @@ {{ .Content }} </main> + {{ if ne .Type "page" }} <hr> <footer class="post__footer"> {{ .Render "tags" }} </footer> + {{ end }} </article> {{ end }}
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ec36849..eed8302 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ <meta name="robots" content="index, follow"> <meta name="googlebot" content="index, follow, noarchive"> <title>{{ .Site.Title }} - {{ .Title }}</title> - <link rel="icon" href="{{ .Site.Params.favicon }}"> + <link rel="icon" href="{{ .Site.BaseURL }}{{ .Site.Params.favicon }}"> <meta name="description" content="{{ .Site.Params.description }}"> {{ .Hugo.Generator }} |