Skip to content

Commit 57fcecb

Browse files
psjamespclaude
andcommitted
Fix Bluesky author icon and regenerate stale assets
The author-links partial mapped `bluesky` to `fas fa-cloud`, rendering a generic cloud instead of the Bluesky logo. FontAwesome 6.7 ships a real `bluesky` brand glyph, so switch to `fab fa-bluesky` and regenerate the subset (also picks up pre-existing drift: fa-calendar-times + Tailwind). Also regenerate the purged CSS and FA subset at deploy time so the live site is never stale even if a PR merges (or the build guard is overridden) without the rebuilt assets committed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 0864dae commit 57fcecb

6 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ jobs:
134134
- name: Setup Pages
135135
uses: actions/configure-pages@v5
136136

137+
# Regenerate the purged Tailwind CSS and the Font Awesome subset from the
138+
# actual markup before building, so the deployed site is never stale even
139+
# if a PR merged (or a required check was overridden) without the rebuilt
140+
# assets committed. The committed assets/css/*.css + fa-*-subset.woff2 stay
141+
# useful for local `hugo server` previews; this makes production the source
142+
# of truth so a missed `npm run build:*` can't ship a broken icon again.
143+
- name: Regenerate generated assets
144+
run: |
145+
npm run build:css
146+
npm run build:icons
147+
137148
- name: Build with Hugo
138149
env:
139150
HUGO_ENVIRONMENT: production

assets/css/fontawesome-subset.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
.fa-arrow-up:before{content:"\f062"}
88
.fa-arrow-up-right-from-square:before{content:"\f08e"}
99
.fa-bars:before{content:"\f0c9"}
10+
.fa-bluesky:before{content:"\e671"}
1011
.fa-book:before{content:"\f02d"}
1112
.fa-book-open:before{content:"\f518"}
1213
.fa-box-open:before{content:"\f49e"}
@@ -17,6 +18,7 @@
1718
.fa-calendar-check:before{content:"\f274"}
1819
.fa-calendar-days:before{content:"\f073"}
1920
.fa-calendar-plus:before{content:"\f271"}
21+
.fa-calendar-times:before{content:"\f273"}
2022
.fa-chalkboard-teacher:before{content:"\f51c"}
2123
.fa-check-circle:before{content:"\f058"}
2224
.fa-chevron-down:before{content:"\f078"}

assets/css/tailwind.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
156 Bytes
Binary file not shown.

assets/fonts/fa-solid-subset.woff2

68 Bytes
Binary file not shown.

themes/powershell-community/layouts/partials/author-links.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
(dict "key" "twitter" "icon" "fab fa-twitter" "label" "Twitter")
1414
(dict "key" "mastodon" "icon" "fab fa-mastodon" "label" "Mastodon")
1515
(dict "key" "linkedin" "icon" "fab fa-linkedin" "label" "LinkedIn")
16-
(dict "key" "bluesky" "icon" "fas fa-cloud" "label" "Bluesky")
16+
(dict "key" "bluesky" "icon" "fab fa-bluesky" "label" "Bluesky")
1717
-}}
1818
{{- $any := false -}}
1919
{{- range $links }}{{ if index $p .key }}{{ $any = true }}{{ end }}{{ end -}}

0 commit comments

Comments
 (0)