Update Hugo configuration to set baseURL and theme, and update theme files.
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
baseURL: https://example.org/
|
baseURL: https://wiki.cafe
|
||||||
languageCode: en-us
|
languageCode: en-us
|
||||||
title: My New Hugo Site
|
title: Wiki cafe
|
||||||
|
theme: wikidarity
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
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"
|
|
18
themes/wikidarity/hugo.yaml
Normal file
18
themes/wikidarity/hugo.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
baseURL: https://example.org/
|
||||||
|
languageCode: en-US
|
||||||
|
title: My New Hugo Site
|
||||||
|
menus:
|
||||||
|
main:
|
||||||
|
- name: Home
|
||||||
|
pageRef: /
|
||||||
|
weight: 10
|
||||||
|
- name: Posts
|
||||||
|
pageRef: /posts
|
||||||
|
weight: 20
|
||||||
|
- name: Tags
|
||||||
|
pageRef: /tags
|
||||||
|
weight: 30
|
||||||
|
module:
|
||||||
|
hugoVersion:
|
||||||
|
extended: false
|
||||||
|
min: 0.116.0
|
@ -1,13 +1,13 @@
|
|||||||
name: 'Wikidarity'
|
name: 'Wikidarity'
|
||||||
# license = 'MIT'
|
# license = 'AGPL-3.0-or-later'
|
||||||
# licenselink = 'https://github.com/owner/repo/LICENSE'
|
# licenselink = 'https://github.com/owner/repo/LICENSE'
|
||||||
description: 'An elegant theme inspired by the ideas of wiki and solidarity.'
|
description: 'An elegant theme inspired by the ideas of wiki and solidarity.'
|
||||||
|
|
||||||
# # The home page of the theme, where the source can be found
|
# # The home page of the theme, where the source can be found
|
||||||
# homepage = 'https://github.com/owner/repo'
|
# homepage = 'https://git.coopcloud.tech/wiki-cafe/wiki.cafe'
|
||||||
|
|
||||||
# # If you have a running demo of the theme
|
# # If you have a running demo of the theme
|
||||||
# demosite = 'https://owner.github.io/repo'
|
# demosite = 'https://wiki.cafe'
|
||||||
|
|
||||||
# # Taxonomy terms
|
# # Taxonomy terms
|
||||||
# tags = ['blog', 'company']
|
# tags = ['blog', 'company']
|
||||||
|
Reference in New Issue
Block a user