iris apple-touch-icon

This commit is contained in:
Martti Malmi
2023-10-04 16:53:12 +03:00
parent 89982793ed
commit 38b647938e
5 changed files with 6 additions and 3 deletions

View File

@ -3,5 +3,6 @@
"appNameCapitalized": "Snort", "appNameCapitalized": "Snort",
"appTitle": "Snort - Nostr", "appTitle": "Snort - Nostr",
"nip05Domain": "snort.social", "nip05Domain": "snort.social",
"favicon": "public/favicon.ico" "favicon": "public/favicon.ico",
"appleTouchIconUrl": "/nostrich_512.png"
} }

View File

@ -3,5 +3,6 @@
"appNameCapitalized": "Iris", "appNameCapitalized": "Iris",
"appTitle": "iris", "appTitle": "iris",
"nip05Domain": "iris.to", "nip05Domain": "iris.to",
"favicon": "public/iris/favicon.ico" "favicon": "public/iris/favicon.ico",
"appleTouchIconUrl": "/img/apple-touch-icon.png"
} }

View File

@ -9,7 +9,7 @@
name="keywords" name="keywords"
content="nostr snort fast decentralized social media censorship resistant open source software" /> content="nostr snort fast decentralized social media censorship resistant open source software" />
<link rel="preconnect" href="https://imgproxy.snort.social" /> <link rel="preconnect" href="https://imgproxy.snort.social" />
<link rel="apple-touch-icon" href="/nostrich_512.png" /> <link rel="apple-touch-icon" href="<%= htmlWebpackPlugin.options.templateParameters.appleTouchIconUrl %>" />
<link rel="manifest" href="/manifest.json" /> <link rel="manifest" href="/manifest.json" />
<title><%= htmlWebpackPlugin.options.templateParameters.appTitle %></title> <title><%= htmlWebpackPlugin.options.templateParameters.appTitle %></title>
</head> </head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -64,6 +64,7 @@ const config = {
excludeChunks: ["pow", "bench"], excludeChunks: ["pow", "bench"],
templateParameters: { templateParameters: {
appTitle, appTitle,
appleTouchIconUrl: appConfig.get("appleTouchIconUrl"),
}, },
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({