diff options
author | nanxiaobei <nanxiaobei@gmail.com> | 2021-08-24 02:48:16 +0300 |
---|---|---|
committer | nanxiaobei <nanxiaobei@gmail.com> | 2021-08-24 02:48:16 +0300 |
commit | bba14a63ac259ea6dc8c6917f662f67b7564bf6c (patch) | |
tree | db0614d1f4f7adfb68f15fabac7c86c0f535d96f /exampleSite | |
parent | b7cf534a7418583b7c2768bed9c6faa2e94e0293 (diff) |
init hugo module
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 7 | ||||
-rw-r--r-- | exampleSite/go.mod | 5 | ||||
-rw-r--r-- | exampleSite/go.sum | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e3cc1c6..6cad7db 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://gohugo.io" +baseURL = "https://hugo-paper.vercel.app/" # title = "Hugo Themes" author = "Steve Francia" copyright = "Copyright © 2008–2019, Steve Francia and the lee.so; all rights reserved." @@ -12,8 +12,13 @@ ignoreErrors = ["error-remote-getjson"] # ------------------------------ theme = "hugo-paper" +#themesDir = "../.." title = "Paper" +[module] + [[module.imports]] + path = "github.com/nanxiaobei/hugo-paper" + [params] twitter = 'nanxiaobei' github = 'nanxiaobei' diff --git a/exampleSite/go.mod b/exampleSite/go.mod new file mode 100644 index 0000000..1ef2995 --- /dev/null +++ b/exampleSite/go.mod @@ -0,0 +1,5 @@ +module hugo-paper + +go 1.11 + +require github.com/nanxiaobei/hugo-paper b7cf534a7418583b7c2768bed9c6faa2e94e0293 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum new file mode 100644 index 0000000..063878c --- /dev/null +++ b/exampleSite/go.sum @@ -0,0 +1 @@ +github.com/nanxiaobei/hugo-paper b7cf534a7418583b7c2768bed9c6faa2e94e0293/go.mod |