File tree Expand file tree Collapse file tree 11 files changed +72
-76
lines changed
Expand file tree Collapse file tree 11 files changed +72
-76
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "image" : " mcr.microsoft.com/devcontainers/go:1" ,
3+ "features" : {
4+ "ghcr.io/devcontainers/features/hugo:1" : {
5+ "extended" : true ,
6+ "version" : " 0.152.2"
7+ },
8+ "ghcr.io/devcontainers/features/node:1" : {}
9+ },
10+ "customizations" : {
11+ "vscode" : {
12+ "extensions" : [
13+ " hugoblox.hugoblox-studio"
14+ ]
15+ }
16+ },
17+ "postCreateCommand" : " pnpm install --no-frozen-lockfile && hugo --logLevel debug && pnpm dlx pagefind --source 'public' --verbose" ,
18+ "postAttachCommand" : " (code --command workbench.view.extension.hugoblox-studio || true) && hugo server --disableFastRender -D --port 1313" ,
19+ "forwardPorts" : [
20+ 1313
21+ ]
22+ }
Original file line number Diff line number Diff line change 11name : Deploy website to GitHub Pages
22
33env :
4- WC_HUGO_VERSION : ' 0.152.2'
54 NODE_VERSION : ' 20'
65
76on :
4241 if : hashFiles('package.json') != ''
4342 uses : pnpm/action-setup@v4
4443
44+ - name : Get Hugo Version
45+ id : hugo-version
46+ run : |
47+ VERSION=$(grep "hugo_version" hugoblox.yaml | awk '{print $2}' | tr -d "'\"")
48+ echo "HUGO_VERSION=$VERSION" >> $GITHUB_ENV
49+
4550 - name : Install dependencies
4651 run : |
4752 # Install Tailwind CLI if package.json exists
5358 - name : Setup Hugo
5459 uses : peaceiris/actions-hugo@v3
5560 with :
56- hugo-version : ${{ env.WC_HUGO_VERSION }}
61+ hugo-version : ${{ env.HUGO_VERSION }}
5762 extended : true
5863
5964 # Cache dependencies (Go modules, node_modules) - stable, rarely changes
Original file line number Diff line number Diff line change @@ -37,14 +37,6 @@ node_modules/
3737.env.local
3838.env. * .local
3939
40- # ============================================================================
41- # Development Tools
42- # ============================================================================
43-
44- # IDE & Editors
45- .vscode /
46- .idea /
47-
4840# ============================================================================
4941# Generated Content
5042# ============================================================================
Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [
3+ " hugoblox.hugoblox-studio"
4+ ]
5+ }
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: v1.0.0 Released!
33summary : Hugo v1.0.0 released. Download now and follow the guide to get started in 5 minutes!
44date : 2023-01-01
55authors :
6- - admin
6+ - me
77tags :
88 - Hugo
99 - Hugo Blox
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: v2.0.0 Released!
33summary : Hugo v2.0.0 released. Download now and follow the guide to get started in 5 minutes!
44date : 2024-01-19
55authors :
6- - admin
6+ - me
77tags :
88 - Hugo
99 - Hugo Blox
Original file line number Diff line number Diff line change 11---
22title : Nvidia
33summary : nvidia.com
4- external_link : https://research.nvidia.com/labs/toronto-ai/
4+ links :
5+ - type : site
6+ url : https://research.nvidia.com/labs/toronto-ai/
57date : 2024-02-17
68---
Original file line number Diff line number Diff line change 1+ schema : hugoblox/author/v1
2+ slug : me
3+ is_owner : true
4+ name :
5+ display : 吳健雄
6+ given : Shiung Wu
7+ family : Chien
8+ pronunciation : Chien Shiung Wu
9+ pronouns : she/her
10+ status :
11+ icon : " ☕️"
12+ role : Professor of Artificial Intelligence
13+ bio : My research interests include distributed robotics, mobile computing and programmable matter.
14+ affiliations :
15+ - name : Stanford University
16+ url : https://www.stanford.edu/
17+ links :
18+ - icon : at-symbol
19+ url : mailto:your-email@example.com
20+ label : E-mail Me
21+ - icon : brands/x
22+ url : https://x.com/BuildLore
23+ - icon : brands/instagram
24+ url : https://www.instagram.com/
25+ - icon : brands/linkedin
26+ url : https://www.linkedin.com/
27+ - icon : academicons/cv
28+ url : uploads/resume.pdf
29+ label : Download my resume
30+ - icon : rss
31+ url : ./post/index.xml
32+ label : Subscribe to my blog via RSS feed
You can’t perform that action at this time.
0 commit comments