Add config.yaml option

This commit is contained in:
Zachary Betz 2019-02-18 09:49:41 -06:00
parent 0953f106e9
commit f1b9ef4abf
2 changed files with 41 additions and 1 deletions

View File

@ -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
View 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