mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-09 19:47:02 +02:00
committed by
Bjørn Erik Pedersen
parent
a19d03b0e6
commit
9a8c84d600
@@ -1,4 +0,0 @@
|
|||||||
[module]
|
|
||||||
[module.hugoVersion]
|
|
||||||
extended = false
|
|
||||||
min = "0.116.0"
|
|
@@ -1,14 +0,0 @@
|
|||||||
[[main]]
|
|
||||||
name = 'Home'
|
|
||||||
pageRef = '/'
|
|
||||||
weight = 10
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = 'Posts'
|
|
||||||
pageRef = '/posts'
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[main]]
|
|
||||||
name = 'Tags'
|
|
||||||
pageRef = '/tags'
|
|
||||||
weight = 30
|
|
23
create/skeletons/theme/hugo.toml
Normal file
23
create/skeletons/theme/hugo.toml
Normal file
@@ -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"
|
@@ -26,8 +26,6 @@ cd mytheme
|
|||||||
checkfile archetypes/default.md
|
checkfile archetypes/default.md
|
||||||
checkfile assets/css/main.css
|
checkfile assets/css/main.css
|
||||||
checkfile assets/js/main.js
|
checkfile assets/js/main.js
|
||||||
checkfile config/_default/hugo.toml
|
|
||||||
checkfile config/_default/menus.toml
|
|
||||||
checkfile content/_index.md
|
checkfile content/_index.md
|
||||||
checkfile content/posts/_index.md
|
checkfile content/posts/_index.md
|
||||||
checkfile content/posts/post-1.md
|
checkfile content/posts/post-1.md
|
||||||
@@ -48,6 +46,7 @@ checkfile layouts/partials/terms.html
|
|||||||
checkfile static/favicon.ico
|
checkfile static/favicon.ico
|
||||||
checkfile LICENSE
|
checkfile LICENSE
|
||||||
checkfile README.md
|
checkfile README.md
|
||||||
|
checkfile hugo.toml
|
||||||
checkfile theme.toml
|
checkfile theme.toml
|
||||||
exists data
|
exists data
|
||||||
exists i18n
|
exists i18n
|
||||||
|
Reference in New Issue
Block a user