From f1b9ef4abf5270fa6e87dc3516d693fe08ffd915 Mon Sep 17 00:00:00 2001 From: Zachary Betz Date: Mon, 18 Feb 2019 09:49:41 -0600 Subject: [PATCH] Add config.yaml option --- README.md | 2 +- exampleSite/config.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 exampleSite/config.yaml diff --git a/README.md b/README.md index f71e1cc..a1eeb3f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ hugo server --themesDir ../.. ## 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 diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml new file mode 100644 index 0000000..ce98a20 --- /dev/null +++ b/exampleSite/config.yaml @@ -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