aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Nikolai Viessmann2021-08-08 13:39:13 +0200
committerHans-Nikolai Viessmann2021-08-08 13:39:13 +0200
commitc7c88b2431faad4406a864fcd026b830a78b0be7 (patch)
treee40140e59686ea12af4e2762347199e97b8ab569
parent5c8c3992ecde93c4c6b3ca6ced68a4d868ffc423 (diff)
downloadpelican-theme-edream-c7c88b2431faad4406a864fcd026b830a78b0be7.tar.gz
pelican-theme-edream-c7c88b2431faad4406a864fcd026b830a78b0be7.zip
add favicon
-rw-r--r--static/favicon/android-chrome-192x192.pngbin0 -> 4033 bytes
-rw-r--r--static/favicon/android-chrome-512x512.pngbin0 -> 9856 bytes
-rw-r--r--static/favicon/apple-touch-icon.pngbin0 -> 3663 bytes
-rw-r--r--static/favicon/favicon-16x16.pngbin0 -> 311 bytes
-rw-r--r--static/favicon/favicon-32x32.pngbin0 -> 607 bytes
-rw-r--r--static/favicon/favicon.icobin0 -> 15406 bytes
-rw-r--r--static/favicon/site.webmanifest1
-rw-r--r--templates/base.html29
-rw-r--r--templates/metadata.inc.html4
9 files changed, 19 insertions, 15 deletions
diff --git a/static/favicon/android-chrome-192x192.png b/static/favicon/android-chrome-192x192.png
new file mode 100644
index 0000000..a1bc352
--- /dev/null
+++ b/static/favicon/android-chrome-192x192.png
Binary files differ
diff --git a/static/favicon/android-chrome-512x512.png b/static/favicon/android-chrome-512x512.png
new file mode 100644
index 0000000..28c6d62
--- /dev/null
+++ b/static/favicon/android-chrome-512x512.png
Binary files differ
diff --git a/static/favicon/apple-touch-icon.png b/static/favicon/apple-touch-icon.png
new file mode 100644
index 0000000..cee9f92
--- /dev/null
+++ b/static/favicon/apple-touch-icon.png
Binary files differ
diff --git a/static/favicon/favicon-16x16.png b/static/favicon/favicon-16x16.png
new file mode 100644
index 0000000..4cbab3d
--- /dev/null
+++ b/static/favicon/favicon-16x16.png
Binary files differ
diff --git a/static/favicon/favicon-32x32.png b/static/favicon/favicon-32x32.png
new file mode 100644
index 0000000..18a630d
--- /dev/null
+++ b/static/favicon/favicon-32x32.png
Binary files differ
diff --git a/static/favicon/favicon.ico b/static/favicon/favicon.ico
new file mode 100644
index 0000000..48f1b6c
--- /dev/null
+++ b/static/favicon/favicon.ico
Binary files differ
diff --git a/static/favicon/site.webmanifest b/static/favicon/site.webmanifest
new file mode 100644
index 0000000..45dc8a2
--- /dev/null
+++ b/static/favicon/site.webmanifest
@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
index 9333d68..e43a78f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,18 +1,22 @@
<!DOCTYPE html>
-<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
+<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
<head>
- <meta charset="utf-8"/>
+ <meta charset="utf-8" />
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ SITEURL }}/theme/favicon/apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ SITEURL }}/theme/favicon/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ SITEURL }}/theme/favicon/favicon-16x16.png">
+ <link rel="manifest" href="{{ SITEURL }}/theme/favicon/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="author" content="{{ AUTHOR }}">
- {% block extra_meta %}
- {% endblock %}
+ <meta name="author" content="{{ AUTHOR }}">
+ {% block extra_meta %}
+ {% endblock %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.0/css/bulma.min.css" integrity="sha256-aPeK/N8IHpHsvPBCf49iVKMdusfobKo2oxF8lRruWJg=" crossorigin="anonymous">
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygment.css" type="text/css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygment.css" type="text/css" />
<link rel="author" href="humans.txt" />
-
- <title>{% block title %}{{ SITENAME }}{% endblock %}</title>
+
+ <title>{% block title %}{{ SITENAME }}{% endblock %}</title>
</head>
<!--
__ __
@@ -23,8 +27,7 @@
\ `\___/\ \____\\ \_\\/\____/\ \____/\ \_\ \_\ \_\ \_\ \____\ \_\ \_\
`\/__/ \/____/ \/_/ \/___/ \/___/ \/_/\/_/\/_/\/_/\/____/\/_/\/_/
-COPYRIGHT (C) 2014-2020 Hans-Nikolai Viessmann
-To see a full changelog, navigate to https://git.hans.ninja/blog/
+COPYRIGHT (C) 2014-2021 Hans-Nikolai Viessmann
This website (https://blog.viess.mn) and its content is the property of Hans-Nikolai
Viessmann (hans [at] viess [dot] mn), unless otherwise stated. The website and its
@@ -103,8 +106,8 @@ at the humans.txt file at https://blog.viess.mn/humans.txt for more information.
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>
- {% block scripts -%}
- {%- endblock scripts %}
+ {% block scripts -%}
+ {%- endblock scripts %}
<script src="{{ SITEURL }}/theme/js/scripts.js"></script>
</body>
</html>
diff --git a/templates/metadata.inc.html b/templates/metadata.inc.html
index 338e065..6eec91d 100644
--- a/templates/metadata.inc.html
+++ b/templates/metadata.inc.html
@@ -1,6 +1,6 @@
<span class="is-size-7">
- <time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time>,
+ <time datetime="{{ article.date.isoformat() }}" pubdate>{{ article.locale_date }}</time>,
{% if article and article.modified %}<em>(modified <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time>)</em>, {% endif %}
- category <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>,
+ category <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>,
{% if article.tags %}tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}" class="is-link">{{ tag }}</a> {% endfor %}{% endif %}
</span>