feat(hugo.toml): add support for theme as a local file and as a module

This commit is contained in:
Sped0n
2023-11-04 17:56:30 +08:00
parent e1b0a7627c
commit e045d273ad
2 changed files with 12 additions and 4 deletions

View File

@@ -1,9 +1,5 @@
# your website url
baseURL = 'https://www.example.com/'
# path to theme directory
themesdir = '../..'
# theme name
theme = 'Bridget'
# website title
title = 'Bridget'
# don't touch this
@@ -21,3 +17,12 @@ enableRobotsTXT = true
# * ja (powered by Noto Sans JP)
# * ko (powered by Noto Sans KR)
defaultContentLanguage = 'en'
# theme as local file
# themesdir = "../.."
# theme = "bridget"
# theme as module
[module]
[[module.imports]]
path = "github.com/Sped0n/bridget"