summaryrefslogtreecommitdiff
path: root/_includes/views
diff options
context:
space:
mode:
authorJeffrey Tse <jeffreytse.mail@gmail.com>2019-09-13 17:26:19 +0800
committerJeffrey Tse <jeffreytse.mail@gmail.com>2019-09-13 17:26:19 +0800
commitaf1450d90bb8f6ab8c8693ce9434783578789b25 (patch)
tree4cca957a1f7d3f8f2aa22d8ef11146501f461f58 /_includes/views
parent9241888333d7c0bce62c292a97373b8c26a714d4 (diff)
feat: add favicon and header logo
Diffstat (limited to '_includes/views')
-rw-r--r--_includes/views/site-brand.html8
1 files changed, 7 insertions, 1 deletions
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>