Permalink
Browse files

Fixed favicon not updating (#165)

* Fixed favicon not updating

Missing / prevented favicon being found and updating.

* Updated with relURL

Changed favicon to use relURL function.

* Updated css links to relative URLs
  • Loading branch information...
rogerssam authored and ryanfox1985 committed Aug 14, 2018
1 parent 3e3e7f2 commit ecd4366c7cbf336c190c6e75e48ed455497103d8
Showing with 8 additions and 8 deletions.
  1. +8 −8 layouts/partials/head.html
View
@@ -27,18 +27,18 @@
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Css animations -->
<link href="{{ .Site.BaseURL }}css/animate.css" rel="stylesheet">
<link href="{{ "css/animate.css" | relURL}}" rel="stylesheet">
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
{{ if and (isset .Site.Params "style") .Site.Params.style }}
<link href="{{ .Site.BaseURL }}css/style.{{ .Site.Params.style }}.css" rel="stylesheet" id="theme-stylesheet">
<link href="{{ "css/style" | relURL}}.{{ .Site.Params.style }}.css" rel="stylesheet" id="theme-stylesheet">
{{ else }}
<link href="{{ .Site.BaseURL }}css/style.default.css" rel="stylesheet" id="theme-stylesheet">
<link href="{{ "css/style.default.css" | relURL}}" rel="stylesheet" id="theme-stylesheet">
{{ end }}
<!-- Custom stylesheet - for your changes -->
<link href="{{ .Site.BaseURL }}css/custom.css" rel="stylesheet">
<link href="{{ "css/custom.css" | relURL}}" rel="stylesheet">
<!-- Responsivity for older IE -->
{{ `
@@ -49,12 +49,12 @@
` | safeHTML }}
<!-- Favicon and apple touch icons-->
<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}img/apple-touch-icon.png" />
<link rel="shortcut icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon" />
<link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | relURL }}" />
<!-- owl carousel css -->
<link href="{{ .Site.BaseURL }}css/owl.carousel.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}css/owl.theme.css" rel="stylesheet">
<link href="{{ "css/owl.carousel.css" | relURL}}" rel="stylesheet">
<link href="{{ "css/owl.theme.css" | relURL}}" rel="stylesheet">
<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}">

0 comments on commit ecd4366

Please sign in to comment.