diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 69178a3..e82c422 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,7 +2,7 @@ name: Build and deploy on: push: - branches: + branches: - main - master pull_request: @@ -24,16 +24,16 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v5 - + - name: Setup Hugo uses: peaceiris/actions-hugo@v3 with: - hugo-version: '0.119.0' + hugo-version: '0.153.2' extended: true - name: Build run: hugo --minify - + - name: Upload artifact uses: actions/upload-pages-artifact@v3 if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') diff --git a/.gitmodules b/.gitmodules index edc01e4..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +0,0 @@ -[submodule "themes/fuji"] - path = themes/fuji - url = https://github.com/dsrkafuu/hugo-theme-fuji.git - diff --git a/content/post/2024-12-26-comiket105.md b/content/post/2024-12-26-comiket105.md index 5cf9c97..c19fb8d 100644 --- a/content/post/2024-12-26-comiket105.md +++ b/content/post/2024-12-26-comiket105.md @@ -1,7 +1,6 @@ --- title: "C105参加のお知らせ" date: 2024-12-26T19:27:36+09:00 -author: urandom author: yyu tags: - Publication diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..32db633 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/urandom-ctf/urandom-ctf.github.io + +go 1.25.5 + +require github.com/urandom-ctf/hugo-theme-fuji v0.0.0-20251225001953-9a0ee8ebfa73 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..26a5b51 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/urandom-ctf/hugo-theme-fuji v0.0.0-20251225001953-9a0ee8ebfa73 h1:a4J11+lVtHeMxx/wamAYQzqqkH/IvYX85UrwjKUMOgQ= +github.com/urandom-ctf/hugo-theme-fuji v0.0.0-20251225001953-9a0ee8ebfa73/go.mod h1:DFg9ycvhpM7r13Xz6VFjx8sKi6FQwDFYjO1XuBWbDxM= diff --git a/config.toml b/hugo.toml similarity index 93% rename from config.toml rename to hugo.toml index fbfd06c..79b9dff 100644 --- a/config.toml +++ b/hugo.toml @@ -1,7 +1,6 @@ baseURL = "https://urandom.team" title = "urandom" -theme = "fuji" hasCJKLanguage = true enableEmoji = true enableRobotsTXT = true @@ -13,10 +12,18 @@ languageCode = "ja-jp" # For RSS, view https://www.rssboard.org/rss-language-co defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl, pl, it summaryLength = 100 # Custom summary length, add in post file to custom split point -paginate = 10 # googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here +[pagination] + pagerSize = 10 + +[module] + # Uncomment the following line and adjust the path to use local theme during development + # replacements = "github.com/urandom-ctf/hugo-theme-fuji -> ../../hugo-theme-fuji" + [[module.imports]] + path = "github.com/urandom-ctf/hugo-theme-fuji" + [outputFormats] [outputFormats.SearchIndex] isPlainText = true diff --git a/themes/fuji b/themes/fuji deleted file mode 160000 index bca1c22..0000000 --- a/themes/fuji +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bca1c2222aef812c840cf28d23f991dc1dae1599