hugo-owu-se : use proper icons

This commit is contained in:
minoplhy 2024-03-14 20:54:24 +07:00
parent 18191b161a
commit 20f584564f
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF
11 changed files with 27 additions and 2 deletions

View File

@ -18,13 +18,13 @@ ignoreErrors = ["error-disable-taxonomy"]
# The path to your "favicon". This should be a square (at least 32px x 32px) png-file. # The path to your "favicon". This should be a square (at least 32px x 32px) png-file.
# Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder. # Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder.
favicon = "images/new-favicon.png" favicon = "images/icon/favicon-32x32.png"
# These "images" are used for the structured data templates. This will show up, when # These "images" are used for the structured data templates. This will show up, when
# services like Twitter or Slack want to generate a preview of a link to your site. # services like Twitter or Slack want to generate a preview of a link to your site.
# See https://gohugo.io/templates/internal#twitter-cards and # See https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph. # https://gohugo.io/templates/internal#open-graph.
images = ["images/new-favicon.png"] images = ["images/icon/new-favicon.png"]
# Another "title" :-). This one is used as the site_name on the Hugo's internal # Another "title" :-). This one is used as the site_name on the Hugo's internal
# opengraph structured data template. # opengraph structured data template.

View File

@ -1,3 +1,6 @@
<link rel="icon" type="image/png" sizes="32x32" href="/images/icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/icon/favicon-16x16.png">
{{ if (.Eq (site.GetPage "/")) }} {{ if (.Eq (site.GetPage "/")) }}
{{- $randomize := (resources.Get "js/randomize.js" ) }} {{- $randomize := (resources.Get "js/randomize.js" ) }}
{{- $image_array := (resources.Get "js/image-array.js" ) }} {{- $image_array := (resources.Get "js/image-array.js" ) }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,13 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/images/icon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}