Skip to content

Commit 51346d1

Browse files
committed
fix favicon
1 parent bffb7e9 commit 51346d1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
- run: npm run build:production
4141
# - name: Build
4242
# run: hugo --minify
43+
- name: Keep custom favicon only
44+
run: |
45+
mkdir -p public/favicons
46+
find public/favicons -type f ! -name 'favicon.ico' -delete
4347
4448
- name: Deploy
4549
uses: peaceiris/actions-gh-pages@v4

layouts/partials/favicons.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link rel="icon" href="{{ "favicons/favicon.ico" | relURL }}" sizes="any">

0 commit comments

Comments
 (0)