Skip to content

Commit 54d1838

Browse files
author
Splitter
committed
chore(templates): update modules to latest commits
1 parent 55c5df9 commit 54d1838

File tree

11 files changed

+72
-76
lines changed

11 files changed

+72
-76
lines changed

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
}

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Deploy website to GitHub Pages
22

33
env:
4-
WC_HUGO_VERSION: '0.152.2'
54
NODE_VERSION: '20'
65

76
on:
@@ -42,6 +41,12 @@ jobs:
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
@@ -53,7 +58,7 @@ jobs:
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

.gitignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
# ============================================================================

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"hugoblox.hugoblox-studio"
4+
]
5+
}

content/authors/admin/_index.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

content/blog/v1.0.0/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: v1.0.0 Released!
33
summary: Hugo v1.0.0 released. Download now and follow the guide to get started in 5 minutes!
44
date: 2023-01-01
55
authors:
6-
- admin
6+
- me
77
tags:
88
- Hugo
99
- Hugo Blox

content/blog/v2.0.0/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: v2.0.0 Released!
33
summary: Hugo v2.0.0 released. Download now and follow the guide to get started in 5 minutes!
44
date: 2024-01-19
55
authors:
6-
- admin
6+
- me
77
tags:
88
- Hugo
99
- Hugo Blox

content/showcase/nvidia/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Nvidia
33
summary: 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/
57
date: 2024-02-17
68
---

data/authors/me.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)