aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-08-23 06:33:37 -0700
committerBjørn Erik Pedersen <[email protected]>2023-08-23 18:05:00 +0200
commit9a8c84d6000fab3ec6847a330c45bfe24b76265d (patch)
treebfd98bfe48b195463503f7670fcd7e2962721085 /create
parenta19d03b0e65c7f541517ea1cbe1a7389ec8b57fe (diff)
downloadhugo-9a8c84d6000fab3ec6847a330c45bfe24b76265d.tar.gz
hugo-9a8c84d6000fab3ec6847a330c45bfe24b76265d.zip
create/skeletons: Move theme's site config to top level
Closes #11380
Diffstat (limited to 'create')
-rw-r--r--create/skeletons/theme/config/_default/hugo.toml4
-rw-r--r--create/skeletons/theme/config/_default/menus.toml14
-rw-r--r--create/skeletons/theme/hugo.toml23
3 files changed, 23 insertions, 18 deletions
diff --git a/create/skeletons/theme/config/_default/hugo.toml b/create/skeletons/theme/config/_default/hugo.toml
deleted file mode 100644
index 123719411..000000000
--- a/create/skeletons/theme/config/_default/hugo.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-[module]
- [module.hugoVersion]
- extended = false
- min = "0.116.0"
diff --git a/create/skeletons/theme/config/_default/menus.toml b/create/skeletons/theme/config/_default/menus.toml
deleted file mode 100644
index 526645f2c..000000000
--- a/create/skeletons/theme/config/_default/menus.toml
+++ /dev/null
@@ -1,14 +0,0 @@
-[[main]]
-name = 'Home'
-pageRef = '/'
-weight = 10
-
-[[main]]
-name = 'Posts'
-pageRef = '/posts'
-weight = 20
-
-[[main]]
-name = 'Tags'
-pageRef = '/tags'
-weight = 30
diff --git a/create/skeletons/theme/hugo.toml b/create/skeletons/theme/hugo.toml
new file mode 100644
index 000000000..890e58deb
--- /dev/null
+++ b/create/skeletons/theme/hugo.toml
@@ -0,0 +1,23 @@
+baseURL = 'https://example.org/'
+languageCode = 'en-us'
+title = 'My New Hugo Site'
+
+[[menus.main]]
+name = 'Home'
+pageRef = '/'
+weight = 10
+
+[[menus.main]]
+name = 'Posts'
+pageRef = '/posts'
+weight = 20
+
+[[menus.main]]
+name = 'Tags'
+pageRef = '/tags'
+weight = 30
+
+[module]
+ [module.hugoVersion]
+ extended = false
+ min = "0.116.0"