Initialise theme as hugo module (#1022)

This commit is contained in:
Andreas Deininger 2023-07-23 16:14:39 +02:00 committed by GitHub
parent 93de4ad9e4
commit dba75d081b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -2,13 +2,6 @@ baseURL = "https://hugodoit.pages.dev"
# [en, zh-cn, fr, pl, ...] determines default content language
# [en, zh-cn, fr, pl, ...] 设置默认的语言
defaultContentLanguage = "en"
# theme
# 主题
theme = "DoIt"
# themes directory
# 主题目录
themesDir = "../.."
# website title
# 网站标题
title = "DoIt"
@ -26,3 +19,15 @@ enableEmoji = true
# ignore some build errors
# 忽略一些构建错误
# ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
# theme
# 主题
theme = "DoIt"
# themes directory
# 主题目录
themesDir = "../.."
# Or, when using theme as hugo module
# [module]
# [[module.imports]]
# path = "github.com/HEIGE-PCloud/DoIt"

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module github.com/HEIGE-PCloud/DoIt
go 1.20