Skip to content

Commit

Permalink
Switch to Hugo Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowRZ committed Sep 12, 2023
1 parent feccf85 commit 1fc626c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

7 changes: 7 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module github.com/ShadowRZ/blog

go 1.21.0

require (
github.com/CaiJimmy/hugo-theme-stack/v3 v3.20.0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/CaiJimmy/hugo-theme-stack/v3 v3.20.0 h1:HcDBhvXj1GJtFEN3lqkmLEULWYu5ycp4KV9v8fQ5s2s=
github.com/CaiJimmy/hugo-theme-stack/v3 v3.20.0/go.mod h1:IPmCXiIxlFSLFYS0tOmYP6ySLviyeNVSabyvSuaxD+I=
6 changes: 5 additions & 1 deletion config.yaml → hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
baseurl: https://shadowrz.github.io/blog/
languageCode: zh-cn
theme: stack
paginate: 20
title: &title "RC0S % Blog"
subtitle: &subtitle "A place for Yorusaka Miyabi"
Expand Down Expand Up @@ -269,3 +268,8 @@ related:

- name: categories
weight: 200

# config.yaml
module:
imports:
- path: github.com/CaiJimmy/hugo-theme-stack/v3
1 change: 0 additions & 1 deletion themes/stack
Submodule stack deleted from 2fb534

0 comments on commit 1fc626c

Please sign in to comment.