Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/puresyntax71/hugo-theme-chunky-poster.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuresyntax71 <34715246+puresyntax71@users.noreply.github.com>2020-04-26 10:06:53 +0300
committerpuresyntax71 <34715246+puresyntax71@users.noreply.github.com>2020-04-26 10:06:53 +0300
commitcab721c29ee7c4caf1565daa1b8cbffc4c77b3ce (patch)
treeffec6dc5ccbb8fad050b1c1dc50acf90b0a8a0d8
parent5b2ea4c7c76779f8af2f3f61140a3bf344255e7f (diff)
Add support for favicons.
-rw-r--r--layouts/partials/head.html7
-rw-r--r--static/android-chrome-192x192.pngbin0 -> 7196 bytes
-rw-r--r--static/android-chrome-512x512.pngbin0 -> 20926 bytes
-rw-r--r--static/apple-touch-icon.pngbin0 -> 6639 bytes
-rw-r--r--static/favicon-16x16.pngbin0 -> 464 bytes
-rw-r--r--static/favicon-32x32.pngbin0 -> 924 bytes
-rw-r--r--static/favicon.icobin0 -> 15406 bytes
-rw-r--r--static/manifest.json19
8 files changed, 26 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f9d3910..6e3eef1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -16,6 +16,13 @@
<meta name="author" content="{{ if .Params.authors }}{{ delimit .Params.authors ", " }}{{ else }}{{ .Site.Params.author }}{{ end }}">
+<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}" sizes="180x180">
+<link rel="icon" href="{{ "favicon-32x32.png" | relURL }} " sizes="32x32" type="image/png">
+<link rel="icon" href="{{ "favicon-16x16.png" | relURL }}" sizes="16x16" type="image/png">
+<link rel="manifest" href="{{ "manifest.json" | relURL }}">
+<link rel="mask-icon" href="{{ "safari-pinned-tab.svg" | relURL }}" color="#0c344b">
+<link rel="icon" href="{{ "favicon.ico" | relURL }}">
+
{{ if .Site.Params.prismJS.enable }}
{{ if .Site.Params.prismJS.theme }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/themes/prism-{{ .Site.Params.prismJS.theme }}.min.css">
diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png
new file mode 100644
index 0000000..a9ddb5c
--- /dev/null
+++ b/static/android-chrome-192x192.png
Binary files differ
diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png
new file mode 100644
index 0000000..245ae64
--- /dev/null
+++ b/static/android-chrome-512x512.png
Binary files differ
diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png
new file mode 100644
index 0000000..ffb97b7
--- /dev/null
+++ b/static/apple-touch-icon.png
Binary files differ
diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png
new file mode 100644
index 0000000..22ade5b
--- /dev/null
+++ b/static/favicon-16x16.png
Binary files differ
diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png
new file mode 100644
index 0000000..508612a
--- /dev/null
+++ b/static/favicon-32x32.png
Binary files differ
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..9d63a82
--- /dev/null
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/manifest.json b/static/manifest.json
new file mode 100644
index 0000000..703f5f2
--- /dev/null
+++ b/static/manifest.json
@@ -0,0 +1,19 @@
+{
+ "name":"Chunky Poster",
+ "short_name":"Chunky Poster",
+ "icons":[
+ {
+ "src":"/android-chrome-192x192.png",
+ "sizes":"192x192",
+ "type":"image/png"
+ },
+ {
+ "src":"/android-chrome-512x512.png",
+ "sizes":"512x512",
+ "type":"image/png"
+ }
+ ],
+ "theme_color":"#0c344b",
+ "background_color":"#ffffff",
+ "display":"standalone"
+}