Move configs from toml to yaml
This commit is contained in:
parent
e2e92635c2
commit
664adae79d
6 changed files with 71 additions and 57 deletions
15
hugo.toml
15
hugo.toml
|
@ -1,15 +0,0 @@
|
||||||
baseURL = 'https://ctrlz.es/'
|
|
||||||
languageCode = 'es-es'
|
|
||||||
title = 'Control + Z'
|
|
||||||
theme = 'clean'
|
|
||||||
disableHugoGeneratorInject = true
|
|
||||||
enableEmoji = true
|
|
||||||
|
|
||||||
[params]
|
|
||||||
[params.contact]
|
|
||||||
name = 'Miguel de la Cruz'
|
|
||||||
email = 'mgdelacroix@gmail.com'
|
|
||||||
mastodon = 'https://social.ctrlz.es/@mgdelacroix'
|
|
||||||
[params.author]
|
|
||||||
name = 'Miguel de la Cruz'
|
|
||||||
email = 'mgdelacroix@gmail.com'
|
|
25
hugo.yaml
Normal file
25
hugo.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
baseURL: https://ctrlz.es/
|
||||||
|
languageCode: es-es
|
||||||
|
title: ControlZ
|
||||||
|
theme: clean
|
||||||
|
disableHugoGeneratorInject: true
|
||||||
|
enableEmoji: true
|
||||||
|
|
||||||
|
menus:
|
||||||
|
main:
|
||||||
|
- name: Inicio
|
||||||
|
pageRef: '/'
|
||||||
|
weight: 10
|
||||||
|
- name: Posts
|
||||||
|
pageRef: '/posts'
|
||||||
|
weight: 20
|
||||||
|
|
||||||
|
params:
|
||||||
|
contact:
|
||||||
|
name: Miguel de la Cruz
|
||||||
|
email: mgdelacroix@gmail.com
|
||||||
|
mastodon: https://social.ctrlz.es/@mgdelacroix
|
||||||
|
author:
|
||||||
|
name: Miguel de la Cruz
|
||||||
|
email: mgdelacroix@gmail.com
|
|
@ -1,23 +0,0 @@
|
||||||
baseURL = 'https://example.org/'
|
|
||||||
languageCode = 'en-us'
|
|
||||||
title = 'My New Hugo Site'
|
|
||||||
|
|
||||||
[[menus.main]]
|
|
||||||
name = 'Principal'
|
|
||||||
pageRef = '/'
|
|
||||||
weight = 10
|
|
||||||
|
|
||||||
[[menus.main]]
|
|
||||||
name = 'Posts'
|
|
||||||
pageRef = '/posts'
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
[[menus.main]]
|
|
||||||
name = 'Etiquetas'
|
|
||||||
pageRef = '/tags'
|
|
||||||
weight = 30
|
|
||||||
|
|
||||||
[module]
|
|
||||||
[module.hugoVersion]
|
|
||||||
extended = false
|
|
||||||
min = "0.116.0"
|
|
21
themes/clean/hugo.yaml
Normal file
21
themes/clean/hugo.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
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,19 +0,0 @@
|
||||||
name = 'Clean'
|
|
||||||
license = 'MIT'
|
|
||||||
licenselink = 'https://github.com/owner/repo/LICENSE'
|
|
||||||
description = 'A small theme for a small web'
|
|
||||||
|
|
||||||
# The home page of the theme, where the source can be found
|
|
||||||
homepage = 'https://github.com/owner/repo'
|
|
||||||
|
|
||||||
# If you have a running demo of the theme
|
|
||||||
demosite = 'https://owner.github.io/repo'
|
|
||||||
|
|
||||||
# Taxonomy terms
|
|
||||||
tags = ['blog', 'company']
|
|
||||||
features = ['some', 'awesome', 'features']
|
|
||||||
|
|
||||||
# If the theme has a single author
|
|
||||||
[author]
|
|
||||||
name = 'Miguel de la Cruz'
|
|
||||||
homepage = 'https://ctrlz.es'
|
|
25
themes/clean/theme.yaml
Normal file
25
themes/clean/theme.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
name: Clean
|
||||||
|
license: MIT
|
||||||
|
licenselink: https://github.com/owner/repo/LICENSE
|
||||||
|
description: A small theme for a small web
|
||||||
|
|
||||||
|
# The home page of the theme, where the source can be found
|
||||||
|
homepage: https://github.com/owner/repo
|
||||||
|
|
||||||
|
# If you have a running demo of the theme
|
||||||
|
demosite: https://owner.github.io/repo
|
||||||
|
|
||||||
|
# Taxonomy terms
|
||||||
|
tags:
|
||||||
|
- blog
|
||||||
|
- company
|
||||||
|
features:
|
||||||
|
- some
|
||||||
|
- awesome
|
||||||
|
- features
|
||||||
|
|
||||||
|
# If the theme has a single author
|
||||||
|
author:
|
||||||
|
name: Miguel de la Cruz
|
||||||
|
homepage: https://ctrlz.es
|
Loading…
Reference in a new issue