Skip to content

Commit 7a2772f

Browse files
authored
Revert "Port website from Hugo to Astro (#368)" (#369)
This reverts commit d905984.
1 parent d905984 commit 7a2772f

File tree

492 files changed

+3966
-10645
lines changed

Some content is hidden

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

492 files changed

+3966
-10645
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"image": "hugomods/hugo:0.134.2",
3+
"features": {}
4+
}

.github/workflows/build-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: "20"
15+
- name: Hugo setup
16+
uses: peaceiris/[email protected]
17+
with:
18+
hugo-version: 0.134.2
19+
extended: true
1520
- name: NPM install
1621
run: npm ci
1722
- name: Build

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: "20"
15+
- name: Hugo setup
16+
uses: peaceiris/[email protected]
17+
with:
18+
hugo-version: 0.134.2
19+
extended: true
1520
- name: NPM install
1621
run: npm ci
1722
- name: Build

.gitignore

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
1-
# build output
2-
dist/
1+
# Generated files by hugo
2+
.DS_Store
3+
/public/
4+
/resources/_gen/
5+
/assets/jsconfig.json
6+
hugo_stats.json
37

4-
# generated types
5-
.astro/
8+
# Executable may be added to repository
9+
hugo.exe
10+
hugo.darwin
11+
hugo.linux
612

7-
# dependencies
8-
node_modules/
13+
# Temporary lock file while building
14+
/.hugo_build.lock
915

10-
# logs
11-
npm-debug.log*
12-
yarn-debug.log*
13-
yarn-error.log*
14-
pnpm-debug.log*
16+
node_modules
1517

16-
# environment variables
17-
.env
18-
.env.production
18+
static/files
1919

20-
# macOS-specific files
21-
.DS_Store
20+
public
2221

23-
# jetbrains setting folder
24-
.idea/
22+
.hugo

.prettierignore

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Generated files by hugo
22
/public/
3-
/dist/
4-
/.astro
3+
/resources/_gen/
4+
/assets/jsconfig.json
5+
hugo_stats.json
6+
7+
# Temporary lock file while building
8+
/.hugo_build.lock
9+
510
node_modules
11+
12+
static/files
13+
14+
public
15+
16+
render-heading.html
17+
layouts/_default/_markup/render-link.html

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": ["*.html"],
5+
"options": {
6+
"parser": "go-template"
7+
}
8+
}
9+
]
10+
}

.prettierrc.mjs

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

.vscode/extensions.json

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

.vscode/launch.json

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

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "hugo",
8+
"type": "shell",
9+
"command": "hugo",
10+
"args": ["serve", "--buildDrafts", "--buildFuture"],
11+
"problemMatcher": [],
12+
"runOptions": {
13+
"runOn": "folderOpen"
14+
}
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)