Skip to content

Commit 1837b05

Browse files
Switch to Hugo
1 parent 913ca20 commit 1837b05

120 files changed

Lines changed: 2233 additions & 305 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/gh-pages.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout source
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Hugo
16+
uses: peaceiris/actions-hugo@v3
17+
with:
18+
hugo-version: 'latest'
19+
20+
- name: Install Node.js (for PostCSS/Tailwind, if needed)
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Build
29+
run: hugo --minify
30+
31+
- name: Deploy to GitHub Pages
32+
uses: peaceiris/actions-gh-pages@v4
33+
with:
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
publish_dir: ./public

.gitignore

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
.jekyll-metadata
2-
.sass-cache/
3-
_site/
4-
Gemfile.lock
5-
Thumbs.db
1+
.env
2+
.env.build
3+
# Node modules
4+
node_modules/
5+
6+
# Hugo output directories
7+
public/
8+
resources/
9+
10+
# Hugo build lock file
11+
.hugo_build.lock
12+
13+
# OS generated files
14+
.DS_Store
15+
Thumbs.db

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/enchanted-lowkey"]
2+
path = themes/enchanted-lowkey
3+
url = https://github.com/nixentric/Lowkey-Hugo-Theme.git

404.html

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

Gemfile

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

_config.yml

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

_includes/head.html

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

_includes/social.html

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

_layouts/home.html

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

0 commit comments

Comments
 (0)