From e9bc5880afb8de2ec9ff9ea047ff1f9f80624c4b Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Tue, 2 Jun 2020 15:31:07 +0900 Subject: [PATCH] whitespace, typos and HTTPS fixes --- content/en/about/benefits.md | 2 +- content/en/about/hugo-and-gdpr.md | 2 -- content/en/about/what-is-hugo.md | 2 +- content/en/commands/hugo.md | 2 +- content/en/content-management/build-options.md | 2 +- content/en/content-management/multilingual.md | 4 ++-- content/en/content-management/page-resources.md | 2 +- content/en/content-management/shortcodes.md | 2 +- content/en/functions/seq.md | 2 +- content/en/functions/urls.Parse.md | 2 +- 10 files changed, 10 insertions(+), 12 deletions(-) diff --git a/content/en/about/benefits.md b/content/en/about/benefits.md index 16d43e48f..020e58981 100644 --- a/content/en/about/benefits.md +++ b/content/en/about/benefits.md @@ -28,7 +28,7 @@ This has many benefits. The most noticeable is performance. HTTP servers are *ve ## More on Static Site Generators * ["An Introduction to Static Site Generators", David Walsh][] -* ["Hugo vs. Wordpress page load speed comparison: Hugo leaves WordPress in its dust", GettingThingsTech][hugovwordpress] +* ["Hugo vs. WordPress page load speed comparison: Hugo leaves WordPress in its dust", GettingThingsTech][hugovwordpress] * ["Static Site Generators", O'Reilly][] * [StaticGen: Top Open-Source Static Site Generators (GitHub Stars)][] * ["Top 10 Static Website Generators", Netlify blog][] diff --git a/content/en/about/hugo-and-gdpr.md b/content/en/about/hugo-and-gdpr.md index e193e1838..563c01cd1 100644 --- a/content/en/about/hugo-and-gdpr.md +++ b/content/en/about/hugo-and-gdpr.md @@ -1,5 +1,3 @@ - - --- title: Hugo and the General Data Protection Regulation (GDPR) linktitle: Hugo and GDPR diff --git a/content/en/about/what-is-hugo.md b/content/en/about/what-is-hugo.md index 257c7e82d..54c07e3c9 100644 --- a/content/en/about/what-is-hugo.md +++ b/content/en/about/what-is-hugo.md @@ -51,7 +51,7 @@ Hugo is for people building a blog, a company site, a portfolio site, documentat [GitHub Pages]: https://pages.github.com/ [GitLab Pages]: https://about.gitlab.com/features/pages/ [Go language]: https://golang.org/ -[GoDaddy]: https://www.godaddy.com/ "Godaddy.com Hosting" +[GoDaddy]: https://www.godaddy.com/ "GoDaddy.com Hosting" [Google Cloud Storage]: https://cloud.google.com/storage/ [Heroku]: https://www.heroku.com/ [Jekyll]: https://jekyllrb.com/ diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index fe519d397..9805034bf 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -15,7 +15,7 @@ hugo is the main command, used to build your Hugo site. Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go. -Complete documentation is available at http://gohugo.io/. +Complete documentation is available at https://gohugo.io/. ``` hugo [flags] diff --git a/content/en/content-management/build-options.md b/content/en/content-management/build-options.md index 028a15c9b..b01568d39 100644 --- a/content/en/content-management/build-options.md +++ b/content/en/content-management/build-options.md @@ -35,7 +35,7 @@ Note that we extended this property from a boolean to an enum in Hugo 0.68.0. Valid values are: never -: The page will not be incldued in any page collection. +: The page will not be included in any page collection. always (default) : The page will be included in all page collections, e.g. `site.RegularPages`, `$page.Pages`. diff --git a/content/en/content-management/multilingual.md b/content/en/content-management/multilingual.md index 575393d47..189a8abff 100644 --- a/content/en/content-management/multilingual.md +++ b/content/en/content-management/multilingual.md @@ -63,7 +63,7 @@ When working with front matter `Params` in [single page templates][singles], omi `defaultContentLanguage` sets the project's default language. If not set, the default language will be `en`. -If the default language needs to be rendererd below its own language code (`/en`) like the others, set `defaultContentLanguageInSubdir: true`. +If the default language needs to be rendered below its own language code (`/en`) like the others, set `defaultContentLanguageInSubdir: true`. Only the obvious non-global options can be overridden per language. Examples of global options are `baseURL`, `buildDrafts`, etc. @@ -125,7 +125,7 @@ public **All URLs (i.e `.Permalink` etc.) will be generated from that root. So the English home page above will have its `.Permalink` set to `https://example.com/`.** -When you run `hugo server` we will start multiple HTTP servers. You will typlically see something like this in the console: +When you run `hugo server` we will start multiple HTTP servers. You will typically see something like this in the console: ```bash Web Server is available at 127.0.0.1:1313 (bind address 127.0.0.1) diff --git a/content/en/content-management/page-resources.md b/content/en/content-management/page-resources.md index 83afb133b..75c40ce6e 100644 --- a/content/en/content-management/page-resources.md +++ b/content/en/content-management/page-resources.md @@ -82,7 +82,7 @@ GetMatch ## Page Resources Metadata -The page resources' metadata is managed from the corresponding page's front matter with an array/table parameter named `resources`. You can batch assign values using [wildcards](http://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm). +The page resources' metadata is managed from the corresponding page's front matter with an array/table parameter named `resources`. You can batch assign values using [wildcards](https://tldp.org/LDP/GNU-Linux-Tools-Summary/html/x11655.htm). {{% note %}} Resources of type `page` get `Title` etc. from their own front matter. diff --git a/content/en/content-management/shortcodes.md b/content/en/content-management/shortcodes.md index 599ce159c..55b87fa9e 100644 --- a/content/en/content-management/shortcodes.md +++ b/content/en/content-management/shortcodes.md @@ -418,7 +418,7 @@ To learn more about creating custom shortcodes, see the [shortcode template docu [`figure` shortcode]: #figure [contentmanagementsection]: /content-management/formats/ [examplegist]: https://gist.github.com/spf13/7896402 -[figureelement]: http://html5doctor.com/the-figure-figcaption-elements/ "An article from HTML5 doctor discussing the fig and figcaption elements." +[figureelement]: https://html5doctor.com/the-figure-figcaption-elements/ "An article from HTML5 doctor discussing the fig and figcaption elements." [Hugo and the GDPR]: /about/hugo-and-gdpr/ [Instagram]: https://www.instagram.com/ [pagevariables]: /variables/page/ diff --git a/content/en/functions/seq.md b/content/en/functions/seq.md index 8bef589c5..678a4c854 100644 --- a/content/en/functions/seq.md +++ b/content/en/functions/seq.md @@ -48,4 +48,4 @@ $indexStartingAt1 := (add $index 1) ``` -[GNU's seq]: http://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html#seq-invocation +[GNU's seq]: https://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html#seq-invocation diff --git a/content/en/functions/urls.Parse.md b/content/en/functions/urls.Parse.md index 6d0ade0f8..76c48d4db 100644 --- a/content/en/functions/urls.Parse.md +++ b/content/en/functions/urls.Parse.md @@ -21,7 +21,7 @@ aliases: [] ``` -{{ $url := urls.Parse "http://www.gohugo.io" }} +{{ $url := urls.Parse "http://www.gohugo.io" }} ``` and returns a [URL](https://godoc.org/net/url#URL) structure. The struct fields are accessed via the `.` notation: