add favicon

This commit is contained in:
Aminda Suomalainen ⚧ 2024-05-30 11:12:02 +03:00
parent 6f72c3ff12
commit 9eae5372ff
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1 @@
_includes

View File

@ -4,6 +4,7 @@ description: >
GitHub Pagesissa ylläpidetty Piraattipuolueen historian GitHub Pagesissa ylläpidetty Piraattipuolueen historian
säilyttävä dokumenttikirjasto. säilyttävä dokumenttikirjasto.
lang: fi lang: fi
icon: https://www.piraattipuolue.fi/wp-content/uploads/2016/10/cropped-2000px-Piratpartiet.svg_-32x32.png
defaults: defaults:
- scope: - scope:
path: "" path: ""

15
_includes/head.html Normal file
View File

@ -0,0 +1,15 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet prefetch" href="{{ "/assets/main.css" | relative_url }}">
<link rel="icon prefetch" href="{{site.icon}}"><link rel="icon prefetch" href="{{site.icon}}">
<meta name="referrer" content="no-referrer" />
<meta name="og:image" content="{{site.icon}}"/>
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
</head>