Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cloudflare-pages-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
pull-requests: write

env:
HUGO_VERSION: 0.168.0
HUGO_VERSION: 0.170.0
NODE_VERSION: '22'

steps:
Expand All @@ -35,7 +35,7 @@ jobs:

- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb

- name: Install Node.js dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
deployments: write

env:
HUGO_VERSION: 0.168.0
HUGO_VERSION: 0.170.0
NODE_VERSION: '22'

steps:
Expand All @@ -38,7 +38,7 @@ jobs:

- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb

- name: Install Node.js dependencies
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Tech Stack

- **Hugo** (Extended 0.168.0+) static site generator
- **Hugo** 0.170.0+ static site generator
- **Tailwind CSS** for styling
- **Node.js 18+** for build tools
- **Cloudflare Pages** for hosting
Expand Down
6 changes: 3 additions & 3 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Visit <http://localhost:1313>

### Prerequisites

- Hugo Extended 0.168.0+
- Hugo 0.170.0+
- Node.js 18+
- Git

Expand Down Expand Up @@ -56,7 +56,7 @@ Uses VS Code Dev Containers with pre-configured environment.
3. Wait for container build
4. Run `hugo server -D --bind 0.0.0.0`

**Included tools:** Hugo Extended, Go, Node.js, Git, GitHub CLI
**Included tools:** Hugo, Go, Node.js, Git, GitHub CLI

## 📁 Project Structure

Expand Down Expand Up @@ -363,7 +363,7 @@ npm run build
# Check Hugo version
hugo version

# Should be 0.168.0+ with extended
# Should be 0.170.0+
```

**Node.js issues:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Visit <http://localhost:1313>

## 🛠️ Tech Stack

- **Hugo** 0.168.0+ (Extended) - Static site generator
- **Hugo** 0.170.0+ - Static site generator
- **Tailwind CSS** - Styling framework
- **Node.js** 18+ - Build tools
- **Cloudflare Pages** - Hosting and preview deployments
Expand Down
7 changes: 4 additions & 3 deletions docs/CLOUDFLARE_PAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This project is deployed using Cloudflare Pages with Wrangler for both productio
#### Production Deployment (`.github/workflows/cloudflare-pages.yml`)

- **Triggers**: Push to `main` branch, manual dispatch
- **Hugo Version**: 0.168.0
- **Hugo Version**: 0.170.0
- **Node Version**: 18
- **Deployment**: Uses `wrangler-action@v3` with `pages deploy` command
- **Build Process**:
Expand Down Expand Up @@ -82,15 +82,15 @@ If you want to use Cloudflare's native builds instead:
- **Build output directory**: `public`
- **Root directory**: `/`
- **Environment variables**:
- `HUGO_VERSION`: `0.168.0`
- `HUGO_VERSION`: `0.170.0`
- `NODE_VERSION`: `18`
- `HUGO_ENV`: `production`

## Troubleshooting

### Build Failures

1. Check Hugo version matches (`0.168.0`)
1. Check Hugo version matches (`0.170.0`)
2. Verify all npm dependencies install correctly
3. Ensure system fonts are available for banner generation

Expand Down Expand Up @@ -118,6 +118,7 @@ Key changes:

- Uses `wrangler-action@v3` instead of deprecated `pages-action@v1`
- Hugo version updated to 0.168.0 (was 0.150.0; originally 0.128.0 in GitHub Pages)
- Hugo version updated to 0.170.0 (standard edition; extended/LibSass dropped upstream)
- Build process now consistent between production and previews
- PR previews include automatic comment updates
- Project auto-creation on first deployment
Expand Down
12 changes: 6 additions & 6 deletions docs/TECHNICAL_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This guide covers the technical setup, development environment, and deployment c

### Prerequisites

- [Hugo](https://gohugo.io/installation/) (extended version 0.168.0 or later)
- [Hugo](https://gohugo.io/installation/) (version 0.170.0 or later)
- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org/) v18 or later (for build tools)

Expand Down Expand Up @@ -67,7 +67,7 @@ This project includes a fully configured dev container with Hugo, Go, Node.js, a

#### What's Included

- **Hugo Extended** - Latest version with SCSS/SASS support
- **Hugo** - Latest version (standard edition as of 0.170.0; this project uses Tailwind, not Sass)
- **Go** - Required for Hugo modules
- **Node.js & npm** - For build tools and dependencies
- **Git & GitHub CLI** - Version control and GitHub integration
Expand Down Expand Up @@ -153,7 +153,7 @@ The `main` branch is protected:

- Build command: `npm run build` (defined in `netlify.toml`)
- Publish directory: `public`
- Hugo version: 0.168.0
- Hugo version: 0.170.0
- Node version: 18
- Environment: Preview mode with custom baseURL

Expand All @@ -165,7 +165,7 @@ command = "npm run build"
publish = "public"

[build.environment]
HUGO_VERSION = "0.168.0"
HUGO_VERSION = "0.170.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
NODE_VERSION = "18"
Expand Down Expand Up @@ -310,7 +310,7 @@ For production deployment:

```bash
HUGO_ENV=production # Enables production optimizations
HUGO_VERSION=0.168.0 # Hugo version
HUGO_VERSION=0.170.0 # Hugo version
HUGO_ENABLEGITINFO=true # Enable Git info in templates
NODE_VERSION=18 # Node.js version
```
Expand Down Expand Up @@ -480,7 +480,7 @@ npm run build
# Check Hugo version
hugo version

# Should be 0.168.0 or later with extended features
# Should be 0.170.0 or later
```

**Node.js dependency issues**
Expand Down
Loading