diff --git a/docfx.json b/docfx.json
index b7a22e622..2035c3917 100644
--- a/docfx.json
+++ b/docfx.json
@@ -28,6 +28,10 @@
}
],
"build": {
+ "template": [
+ "default",
+ "template"
+ ],
"content": [
{
"files": [ "**/*.yml" ],
@@ -61,14 +65,16 @@
"resource": [
{
"files": [ "img/**", "CNAME" ]
+ },
+ {
+ "files": [ "**" ],
+ "src": "favicons"
}
],
"xrefService": [ "https://xref.docs.microsoft.com/query?uid={uid}" ],
"globalMetadata": {
"_appTitle": "Npgsql Documentation",
"_appFooter": "© Copyright 2022 The Npgsql Development Team",
- "_appLogoPath": "img/logo.svg",
- "_appFaviconPath": "img/favicon.ico",
"_enableSearch": true,
"_gitContribute": {
"branch": "main"
diff --git a/favicons/android-chrome-192x192.png b/favicons/android-chrome-192x192.png
new file mode 100644
index 000000000..7860dbf70
Binary files /dev/null and b/favicons/android-chrome-192x192.png differ
diff --git a/favicons/android-chrome-512x512.png b/favicons/android-chrome-512x512.png
new file mode 100644
index 000000000..4420efb3c
Binary files /dev/null and b/favicons/android-chrome-512x512.png differ
diff --git a/favicons/apple-touch-icon.png b/favicons/apple-touch-icon.png
new file mode 100644
index 000000000..fd9338585
Binary files /dev/null and b/favicons/apple-touch-icon.png differ
diff --git a/favicons/browserconfig.xml b/favicons/browserconfig.xml
new file mode 100644
index 000000000..4b6c707ac
--- /dev/null
+++ b/favicons/browserconfig.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+ #2b5797
+
+
+
diff --git a/favicons/favicon-16x16.png b/favicons/favicon-16x16.png
new file mode 100644
index 000000000..99d0c2685
Binary files /dev/null and b/favicons/favicon-16x16.png differ
diff --git a/favicons/favicon-32x32.png b/favicons/favicon-32x32.png
new file mode 100644
index 000000000..6b42e32e5
Binary files /dev/null and b/favicons/favicon-32x32.png differ
diff --git a/favicons/favicon.ico b/favicons/favicon.ico
new file mode 100644
index 000000000..443a68ac3
Binary files /dev/null and b/favicons/favicon.ico differ
diff --git a/favicons/mstile-144x144.png b/favicons/mstile-144x144.png
new file mode 100644
index 000000000..07c36c885
Binary files /dev/null and b/favicons/mstile-144x144.png differ
diff --git a/favicons/mstile-150x150.png b/favicons/mstile-150x150.png
new file mode 100644
index 000000000..16bf4b902
Binary files /dev/null and b/favicons/mstile-150x150.png differ
diff --git a/favicons/mstile-310x150.png b/favicons/mstile-310x150.png
new file mode 100644
index 000000000..6cca66025
Binary files /dev/null and b/favicons/mstile-310x150.png differ
diff --git a/favicons/mstile-310x310.png b/favicons/mstile-310x310.png
new file mode 100644
index 000000000..71ca32edf
Binary files /dev/null and b/favicons/mstile-310x310.png differ
diff --git a/favicons/mstile-70x70.png b/favicons/mstile-70x70.png
new file mode 100644
index 000000000..ba6879886
Binary files /dev/null and b/favicons/mstile-70x70.png differ
diff --git a/favicons/safari-pinned-tab.svg b/favicons/safari-pinned-tab.svg
new file mode 100644
index 000000000..a3cacf665
--- /dev/null
+++ b/favicons/safari-pinned-tab.svg
@@ -0,0 +1,48 @@
+
+
+
diff --git a/favicons/site.webmanifest b/favicons/site.webmanifest
new file mode 100644
index 000000000..7594d95cb
--- /dev/null
+++ b/favicons/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "Npgsql Documentation",
+ "short_name": " Npgsql docs",
+ "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"
+}
diff --git a/img/favicon.ico b/img/favicon.ico
deleted file mode 100644
index cc0376628..000000000
Binary files a/img/favicon.ico and /dev/null differ
diff --git a/img/logo.svg b/template/logo.svg
similarity index 100%
rename from img/logo.svg
rename to template/logo.svg
diff --git a/template/partials/head.tmpl.partial b/template/partials/head.tmpl.partial
new file mode 100644
index 000000000..8d7671a81
--- /dev/null
+++ b/template/partials/head.tmpl.partial
@@ -0,0 +1,25 @@
+{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
+
+
+
+
+ {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}
+
+
+ {{#_description}}{{/_description}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{#_noindex}}{{/_noindex}}
+ {{#_enableSearch}}{{/_enableSearch}}
+ {{#_enableNewTab}}{{/_enableNewTab}}
+