Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanxiaobei/hugo-paper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanxiaobei <nanxiaobei@gmail.com>2021-08-24 02:48:16 +0300
committernanxiaobei <nanxiaobei@gmail.com>2021-08-24 02:48:16 +0300
commitbba14a63ac259ea6dc8c6917f662f67b7564bf6c (patch)
treedb0614d1f4f7adfb68f15fabac7c86c0f535d96f /exampleSite
parentb7cf534a7418583b7c2768bed9c6faa2e94e0293 (diff)
init hugo module
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml7
-rw-r--r--exampleSite/go.mod5
-rw-r--r--exampleSite/go.sum1
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