diff --git a/content/en/news/0.72.0-relnotes/hugo-72-featured.png b/content/en/news/0.72.0-relnotes/hugo-72-featured.png new file mode 100644 index 000000000..673ab28c3 Binary files /dev/null and b/content/en/news/0.72.0-relnotes/hugo-72-featured.png differ diff --git a/content/en/news/0.72.0-relnotes/index.md b/content/en/news/0.72.0-relnotes/index.md index d8dffa1da..ff17ef0f3 100644 --- a/content/en/news/0.72.0-relnotes/index.md +++ b/content/en/news/0.72.0-relnotes/index.md @@ -1,12 +1,12 @@ --- date: 2020-05-31 -title: "0.72.0" -description: "0.72.0" +title: URL rewrites in dev server +description: "Hugo 072.0 comes with dev server redirects and URL rewrites, Goldmark typography extension fixes, Scratch.Add." categories: ["Releases"] --- - This is a rather small release, its probably main motivation being the fixes in Goldmark's [Typographer extension](https://github.com/gohugoio/hugo/commit/432885c499849efb29d3e50196f377fe0e908333). +This is a rather small release, its probably main motivation being the fixes in Goldmark's [Typographer extension](https://github.com/gohugoio/hugo/commit/432885c499849efb29d3e50196f377fe0e908333). This release also adds [redirect and URL rewrite support](https://gohugo.io/getting-started/configuration/#configure-server) to the development server, with mostly Netlify-compatible configuration syntax. This is especially useful if you're building a [SPA](https://en.wikipedia.org/wiki/Single-page_application) with client-side routing. diff --git a/netlify.toml b/netlify.toml index 6a0714c1d..daac3cbab 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" command = "hugo --gc --minify" [context.production.environment] -HUGO_VERSION = "0.71.1" +HUGO_VERSION = "0.72.0" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" @@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true" command = "hugo --gc --minify --enableGitInfo" [context.split1.environment] -HUGO_VERSION = "0.71.1" +HUGO_VERSION = "0.72.0" HUGO_ENV = "production" [context.deploy-preview] command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.71.1" +HUGO_VERSION = "0.72.0" [context.branch-deploy] command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.71.1" +HUGO_VERSION = "0.72.0" [context.next.environment] HUGO_ENABLEGITINFO = "true" diff --git a/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_480x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_480x0_resize_catmullrom_2.png new file mode 100644 index 000000000..2c9364c35 Binary files /dev/null and b/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_480x0_resize_catmullrom_2.png differ diff --git a/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_640x0_resize_catmullrom_2.png b/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_640x0_resize_catmullrom_2.png new file mode 100644 index 000000000..95df22ec1 Binary files /dev/null and b/resources/_gen/images/news/0.72.0-relnotes/hugo-72-featured_hu2851378649aa18f104ac3bb6a49cdd29_256988_640x0_resize_catmullrom_2.png differ