Skip to content

Commit 9ef03bc

Browse files
authored
docs: fix favicon (#1002)
* docs: fix favicon closes #1001 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: avatar Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent cfc95f6 commit 9ef03bc

File tree

13 files changed

+276
-7
lines changed

13 files changed

+276
-7
lines changed

Taskfile.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,14 @@ tasks:
141141
docs:imgs:
142142
desc: Download and resize images
143143
cmds:
144-
- wget -O www/static/images/logo.png https://github.com/goreleaser/artwork/raw/master/goreleaserfundo.png
145-
- wget -O www/static/images/avatar.png https://github.com/goreleaser.png
146-
- convert www/static/images/avatar.png -define icon:auto-resize=64,48,32,16 www/static/images/favicon.ico
147-
- convert www/static/images/avatar.png -resize x120 www/static/images/apple-touch-icon.png
144+
- wget -O www/static/logo.png https://github.com/goreleaser/artwork/raw/master/goreleaserfundo.png
145+
- wget -O www/static/favicon.svg https://raw.githubusercontent.com/goreleaser/artwork/refs/heads/master/goreleaser.svg
146+
- convert www/static/logo.png -define icon:auto-resize=64,48,32,16 www/static/favicon.ico
147+
- convert www/static/logo.png -resize x120 www/static/apple-touch-icon.png
148+
- convert www/static/logo.png -resize x192 www/static/android-chrome-192x192.png
149+
- convert www/static/logo.png -resize x512 www/static/android-chrome-512x512.png
150+
- convert www/static/logo.png -resize x16 www/static/favicon-16x16.png
151+
- convert www/static/logo.png -resize x32 www/static/favicon-32x32.png
148152

149153
docs:serve:
150154
desc: Start documentation server

www/content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: hextra-home
66
<div class="hx:mt-6 hx:mb-6">
77
{{< hextra/hero-headline >}}
88
<div class="hx-flex hx-justify-center hx-mb-12">
9-
<img src="/images/nfpm-logo.png" alt="nFPM Logo" style="height: 80px; width: auto;" />
9+
<img src="/nfpm-logo.png" alt="nFPM Logo" style="height: 80px; width: auto;" />
1010
</div>
1111
{{< /hextra/hero-headline >}}
1212
</div>

www/hugo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ params:
4747
displayTitle: true
4848
displayLogo: true
4949
logo:
50-
path: images/logo.png
51-
dark: images/logo.png
50+
path: logo.png
51+
dark: logo.png
5252
width: 40
5353
height: 40
5454
link: /
21.6 KB
Loading
73.4 KB
Loading

www/static/apple-touch-icon.png

193 Bytes
Loading

www/static/favicon-16x16.png

1.14 KB
Loading

www/static/favicon-32x32.png

2.65 KB
Loading

www/static/favicon.ico

0 Bytes
Binary file not shown.

www/static/favicon.svg

Lines changed: 265 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)