From 87825d8234907116e811441ed4fb16bdd4ae551d Mon Sep 17 00:00:00 2001 From: Zachary Betz Date: Tue, 12 Feb 2019 20:22:28 -0600 Subject: [PATCH] Netlify config --- README.md | 6 +++--- netlify.toml | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 netlify.toml diff --git a/README.md b/README.md index 8e74c56..20e1e4b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Cupper +[![Netlify Status](https://api.netlify.com/api/v1/badges/bc8c4e51-37ee-419d-ad4f-b378010ee546/deploy-status)](https://app.netlify.com/sites/cupper-hugo-theme/deploys) + An accessibility-friendly Hugo theme, ported from the original [Cupper](https://github.com/ThePacielloGroup/cupper) project. ## Table of contents @@ -8,9 +10,7 @@ TODO ## Demo -Dev demo, immediate updates: TODO - -Hugo Themes demo, weekly-ish updates: TODO +Dev demo: https://cupper-hugo-theme.netlify.com/ ## Installation diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..9849573 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,8 @@ +[build] + publish = "exampleSite/public" + command = "cd exampleSite && hugo --gc --themesDir ../.." + +[build.environment] + HUGO_VERSION = "0.54.0" + HUGO_THEME = "repo" + HUGO_BASEURL = "https://cupper-hugo-theme.netlify.com/" \ No newline at end of file