Add config.yaml option
This commit is contained in:
parent
0953f106e9
commit
f1b9ef4abf
|
@ -53,7 +53,7 @@ hugo server --themesDir ../..
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Copy the `config.toml` from the [`exampleSite`](https://github.com/zwbetz-gh/cupper-hugo-theme/tree/master/exampleSite), then edit as desired.
|
Copy the `config.toml` or `config.yaml` from the [`exampleSite`](https://github.com/zwbetz-gh/cupper-hugo-theme/tree/master/exampleSite), then edit as desired.
|
||||||
|
|
||||||
## Logo
|
## Logo
|
||||||
|
|
||||||
|
|
40
exampleSite/config.yaml
Normal file
40
exampleSite/config.yaml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
baseURL: https://example.com
|
||||||
|
languageCode: en-us
|
||||||
|
defaultContentLanguage: en
|
||||||
|
title: Cupper
|
||||||
|
theme: cupper-hugo-theme
|
||||||
|
googleAnalytics: UA-123456789-1
|
||||||
|
|
||||||
|
taxonomies:
|
||||||
|
tag: tags
|
||||||
|
|
||||||
|
permalinks:
|
||||||
|
post: /:filename/
|
||||||
|
|
||||||
|
imaging:
|
||||||
|
quality: 99
|
||||||
|
|
||||||
|
params:
|
||||||
|
description: An accessibility-friendly Hugo theme, ported from the [original Cupper](https://github.com/ThePacielloGroup/cupper) project.
|
||||||
|
footer: Made with [Hugo](https://gohugo.io/). Themed by [Cupper](https://github.com/zwbetz-gh/cupper-hugo-theme). Deployed to [Netlify](https://www.netlify.com/).
|
||||||
|
# For more date formats see https://gohugo.io/functions/format/
|
||||||
|
dateFormat: Jan 2, 2006
|
||||||
|
codePenUser: someUser
|
||||||
|
|
||||||
|
menu:
|
||||||
|
nav:
|
||||||
|
- name: Home
|
||||||
|
url: /
|
||||||
|
weight: 1
|
||||||
|
- name: Blog
|
||||||
|
url: /post/
|
||||||
|
weight: 2
|
||||||
|
- name: Tags
|
||||||
|
url: /tags/
|
||||||
|
weight: 3
|
||||||
|
- name: About
|
||||||
|
url: /about/
|
||||||
|
weight: 4
|
||||||
|
- name: RSS
|
||||||
|
url: /index.xml
|
||||||
|
weight: 5
|
Loading…
Reference in New Issue
Block a user