diff options
author | Bennet Blischke <benne.blischket@haw-hamburg.de> | 2019-05-17 00:33:32 +0300 |
---|---|---|
committer | Bennet Blischke <benne.blischket@haw-hamburg.de> | 2019-05-17 19:03:20 +0300 |
commit | 7e5a0ba57380f5c5549a2391f18503e004200f37 (patch) | |
tree | b16c5ec6d8b02efdeb88385b1147f7eb3856328d /layouts | |
parent | 38c6713da34d4d11409fea7149ee5b0131d0330b (diff) |
fix(favicons) not showing up, fixing with hugo pipes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 25077b4..b0773a2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,8 +21,10 @@ <link href="//fonts.googleapis.com/css?family=Roboto:400" rel="stylesheet"> <!-- Icons --> - <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ print "/assets/img/apple-touch-icon.png" | relURL }}"> - <link rel="shortcut icon" href="{{ print "/assets/img/favicon.ico" | relURL }}"> + {{ $touchicon := resources.Get "/src/images/apple-touch-icon.png" }} + {{ $favicon := resources.Get "/src/images/favicon.ico" }} + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ $touchicon.RelPermalink }}"> + <link rel="shortcut icon" href="{{ $favicon.RelPermalink }}"> <!-- RSS --> <link href="{{ $.LanguagePrefix }}{{ "/posts/index.xml" | relURL }}" rel="alternate" type="application/rss+xml" title="{{- .Site.Title -}}" /> |