summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/head.html3
-rw-r--r--_includes/views/site-brand.html8
2 files changed, 10 insertions, 1 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 68a2ba2..ec6ab58 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -4,6 +4,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-translate-customization" content="108d9124921d80c3-80e20d618ff053c8-g4f02ec6f3dba68b7-c"></meta>
{%- seo -%}
+ {%- if site.favicon -%}
+ <link rel="shortcut icon" href="{{ site.favicon }}">
+ {%- endif -%}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
{%- feed_meta -%}
diff --git a/_includes/views/site-brand.html b/_includes/views/site-brand.html
index 5652aff..cbb3b6c 100644
--- a/_includes/views/site-brand.html
+++ b/_includes/views/site-brand.html
@@ -1 +1,7 @@
-<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
+<a class="site-title" rel="author" href="{{ "/" | relative_url }}">
+ {%- if site.favicon -%}
+ <img class="site-favicon" title="{{ site.title | escape }}" src="{{
+ site.favicon }}">
+ {%- endif -%}
+ {{ site.title | escape }}
+</a>