From 139d0be52b762b68ab07f4dc5e020ca67e88e242 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Tue, 5 Sep 2023 21:28:13 +0800 Subject: [PATCH] Docs: fix favicon (#258) Signed-off-by: Carson Yang --- .../layouts/partials/docs/head/favicon.html | 18 ++++++++++++++++++ docSite/layouts/partials/head/favicon.html | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 docSite/layouts/partials/docs/head/favicon.html create mode 100644 docSite/layouts/partials/head/favicon.html diff --git a/docSite/layouts/partials/docs/head/favicon.html b/docSite/layouts/partials/docs/head/favicon.html new file mode 100644 index 000000000..0de4ed2a0 --- /dev/null +++ b/docSite/layouts/partials/docs/head/favicon.html @@ -0,0 +1,18 @@ +{{ if os.FileExists "static/favicon.ico" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon.svg" -}} + +{{ end -}} +{{ if os.FileExists "static/apple-touch-icon.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-32x32.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-16x16.png" -}} + +{{ end -}} +{{ if os.FileExists "static/site.webmanifest" -}} + +{{ end -}} \ No newline at end of file diff --git a/docSite/layouts/partials/head/favicon.html b/docSite/layouts/partials/head/favicon.html new file mode 100644 index 000000000..0de4ed2a0 --- /dev/null +++ b/docSite/layouts/partials/head/favicon.html @@ -0,0 +1,18 @@ +{{ if os.FileExists "static/favicon.ico" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon.svg" -}} + +{{ end -}} +{{ if os.FileExists "static/apple-touch-icon.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-32x32.png" -}} + +{{ end -}} +{{ if os.FileExists "static/favicon-16x16.png" -}} + +{{ end -}} +{{ if os.FileExists "static/site.webmanifest" -}} + +{{ end -}} \ No newline at end of file