From 3ea5860c3e774112511379855cfdab0d7ab51e35 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Thu, 13 Dec 2018 21:59:54 +0900 Subject: [PATCH 1/3] Use correct input type for search This doesn't change functionality but could aid with accessibility and is more semantically correct. --- layouts/partials/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/search.html b/layouts/partials/search.html index b3efe790fa..9b0bb333c6 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,6 +1,6 @@ {{ $assetBusting := not .Site.Params.disableAssetsBusting }} From 58b39464af91fd9c72e359d918d6f1d81ab363ff Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Fri, 14 Dec 2018 00:08:22 +0900 Subject: [PATCH 2/3] HTTPS link to learn.getgrav.org --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e6f967401c..b0f2ccacab 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hugo Learn Theme -This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](http://learn.getgrav.org/). +This repository contains a theme for [Hugo](https://gohugo.io/), based on great [Grav Learn Theme](https://learn.getgrav.org/). Visit the [theme documentation](https://learn.netlify.com/en/) to see what is going on. It is actually built with this theme. From d66765e46382820b53a58b89ce619af638abb2bb Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Fri, 21 Dec 2018 00:31:13 +0000 Subject: [PATCH 3/3] Set build steps in config --- netlify.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000000..bf02f0d794 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,24 @@ +[build] + publish = "exampleSite/public" + command = "hugo -s exampleSite" + +[build.environment] + HUGO_THEME = "repo" + HUGO_THEMESDIR = "/opt/build" + HUGO_VERSION = "0.50" + +[context.production.environment] + HUGO_BASEURL = "https://learn.netlify.com/" + +[context.deploy-preview] + command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" + +[context.deploy-preview.environment] + HUGO_ENABLEGITINFO = "true" + +[context.branch-deplpy] + command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" + +[context.branch-deploy.environment] + HUGO_ENABLEGITINFO = "true" +