marky

Lightweight bookmarking + plaintext archive
Log | Files | Refs | README | LICENSE

commit ece368e219e9165e8094446c1dbbf4150948c39a
parent 6508e68df856fefbcccffe44072e82b2f36a9f1b
Author: David Eisinger <[email protected]>
Date:   Sat, 11 Oct 2025 17:23:39 -0400

Increase favicon compatibility

Diffstat:
Minternal/static.go | 3+++
Ainternal/web/apple-touch-icon.png | 0
Ainternal/web/favicon-16x16.png | 0
Ainternal/web/favicon-32x32.png | 0
Minternal/web/login.html | 3+++
Minternal/web/settings.html | 3+++
Minternal/web/user.html | 3+++
7 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/internal/static.go b/internal/static.go @@ -112,6 +112,9 @@ func applyCacheBust(html []byte) []byte { "app.js", "styles.css", "favicon.svg", + "apple-touch-icon.png", + "favicon-32x32.png", + "favicon-16x16.png", "vendor/vue.global.prod.js", "vendor/marked.min.js", "vendor/purify.min.js", diff --git a/internal/web/apple-touch-icon.png b/internal/web/apple-touch-icon.png Binary files differ. diff --git a/internal/web/favicon-16x16.png b/internal/web/favicon-16x16.png Binary files differ. diff --git a/internal/web/favicon-32x32.png b/internal/web/favicon-32x32.png Binary files differ. diff --git a/internal/web/login.html b/internal/web/login.html @@ -6,6 +6,9 @@ <title>Marky</title> <link rel="stylesheet" href="/styles.css" /> <link rel="icon" href="/favicon.svg" type="image/svg+xml" /> + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <script src="/vendor/vue.global.prod.js"></script> <script>if(!window.Vue){var s=document.createElement('script');s.src='https://unpkg.com/vue@3/dist/vue.global.prod.js';document.head.appendChild(s)}</script> </head> diff --git a/internal/web/settings.html b/internal/web/settings.html @@ -6,6 +6,9 @@ <title>Settings | Marky</title> <link rel="stylesheet" href="/styles.css" /> <link rel="icon" href="/favicon.svg" type="image/svg+xml" /> + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <script src="/vendor/vue.global.prod.js"></script> </head> <body> diff --git a/internal/web/user.html b/internal/web/user.html @@ -6,6 +6,9 @@ <title>Marky</title> <link rel="stylesheet" href="/styles.css" /> <link rel="icon" href="/favicon.svg" type="image/svg+xml" /> + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <script src="/vendor/vue.global.prod.js"></script> <script>if(!window.Vue){var s=document.createElement('script');s.src='https://unpkg.com/vue@3/dist/vue.global.prod.js';document.head.appendChild(s)}</script> <script src="/vendor/marked.min.js"></script>