_includes/head.html in solar-flair-0.1.10 vs _includes/head.html in solar-flair-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
<head>
- {% assign color = page.color | default: site.theme_color %}
+ {% assign color = page.theme_style | default: site.theme_style %}
+ {% assign favicon = site.data.theme[color].favicon %}
{% if site.gtm_id %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
@@ -21,10 +22,10 @@
<meta name="google-site-verification" content="fSi6TL-h5uyqo_2NjG-XPaS0qZMXo3PiOBumy3N6ZEM" />
<!-- Meta Tags -->
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
- <link rel="icon" href="/assets/solar_assets/favicons/{{ color }}/favicon.png">
+ <link rel="icon" href="{{ favicon }}">
<!-- Open Graph Tags -->
<meta content="{{ site.title }}" property="og:site_name">
{% if page.title %}
<meta content="{{ page.long_title }}" property="og:title">