From d86e10b1e754b7e7258e2feba8899ccaacf40e53 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Sat, 27 Jul 2019 16:16:47 +0900 Subject: [PATCH] HTTPS links in Docs I didn't touch old release notes and some code examples. All links were tested and in some cases updated to prevent redirects where URLs have changed. --- content/en/about/license.md | 4 ++-- content/en/commands/hugo.md | 4 ++-- content/en/commands/hugo_mod.md | 2 +- content/en/commands/hugo_new.md | 2 +- content/en/commands/hugo_server.md | 2 +- content/en/content-management/comments.md | 8 ++++---- content/en/content-management/formats.md | 8 ++++---- content/en/content-management/syntax-highlighting.md | 2 +- content/en/contribute/documentation.md | 2 +- content/en/contribute/themes.md | 4 ++-- content/en/functions/_index.md | 2 +- content/en/functions/emojify.md | 2 +- content/en/functions/safeHTML.md | 6 +++--- content/en/functions/substr.md | 2 +- content/en/getting-started/configuration.md | 2 +- content/en/getting-started/installing.md | 4 ++-- content/en/getting-started/usage.md | 4 ++-- content/en/showcase/arolla-cocoon/index.md | 4 ++-- content/en/showcase/hartwell-insurance/bio.md | 2 +- content/en/showcase/template/index.md | 2 +- content/en/templates/404.md | 2 +- content/en/templates/data-templates.md | 10 +++++----- content/en/templates/internal.md | 6 +++--- content/en/templates/introduction.md | 12 ++++++------ content/en/templates/ordering-and-grouping.md | 2 +- content/en/templates/partials.md | 6 +++--- content/en/templates/robots.md | 2 +- content/en/templates/rss.md | 4 ++-- content/en/templates/shortcode-templates.md | 4 ++-- content/en/templates/single-page-templates.md | 2 +- content/en/templates/template-debugging.md | 4 ++-- content/en/templates/views.md | 2 +- content/en/variables/hugo.md | 2 +- 33 files changed, 63 insertions(+), 63 deletions(-) diff --git a/content/en/about/license.md b/content/en/about/license.md index a8e7c4abd..ae74b6047 100644 --- a/content/en/about/license.md +++ b/content/en/about/license.md @@ -23,7 +23,7 @@ Earlier versions of Hugo were released under the [Simple Public License](https:/ {{% /note %}} _Version 2.0, January 2004_
- + *Terms and Conditions for use, reproduction, and distribution* @@ -155,7 +155,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index 4429b4c5d..11fe82868 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] @@ -24,7 +24,7 @@ hugo [flags] ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future diff --git a/content/en/commands/hugo_mod.md b/content/en/commands/hugo_mod.md index d8c720b39..0f8efdda5 100644 --- a/content/en/commands/hugo_mod.md +++ b/content/en/commands/hugo_mod.md @@ -27,7 +27,7 @@ See https://gohugo.io/hugo-modules/ for more information. ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future diff --git a/content/en/commands/hugo_new.md b/content/en/commands/hugo_new.md index a6cf2ac18..94edec338 100644 --- a/content/en/commands/hugo_new.md +++ b/content/en/commands/hugo_new.md @@ -26,7 +26,7 @@ hugo new [path] [flags] ### Options ``` - -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content -F, --buildFuture include content with publishdate in the future diff --git a/content/en/commands/hugo_server.md b/content/en/commands/hugo_server.md index d66ca1a61..f000a1885 100644 --- a/content/en/commands/hugo_server.md +++ b/content/en/commands/hugo_server.md @@ -31,7 +31,7 @@ hugo server [flags] ``` --appendPort append port to baseURL (default true) - -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ --bind string interface to which the server will bind (default "127.0.0.1") -D, --buildDrafts include content marked as draft -E, --buildExpired include expired content diff --git a/content/en/content-management/comments.md b/content/en/content-management/comments.md index 0034309f5..7980f3139 100644 --- a/content/en/content-management/comments.md +++ b/content/en/content-management/comments.md @@ -54,10 +54,10 @@ There are a few alternatives to commenting on static sites for those who do not * [Static Man](https://staticman.net/) * [Talkyard](https://www.talkyard.io/blog-comments) (Open source, & serverless hosting) * [txtpen](https://txtpen.github.io/hn/) -* [IntenseDebate](http://intensedebate.com/) +* [IntenseDebate](https://intensedebate.com/) * [Graph Comment][] -* [Muut](http://muut.com/) -* [isso](http://posativ.org/isso/) (Self-hosted, Python) +* [Muut](https://muut.com/) +* [isso](https://posativ.org/isso/) (Self-hosted, Python) * [Tutorial on Implementing Isso with Hugo][issotutorial] * [Utterances](https://utteranc.es/) (Open source, Github comments widget built on Github issues) * [Remark](https://github.com/umputun/remark) (Open source, Golang, Easy to run docker) @@ -68,7 +68,7 @@ There are a few alternatives to commenting on static sites for those who do not " | safeHTML }} ``` -Alternatively, you can use the backtick (`` ` ``) to quote the IE conditional comments, avoiding the tedious task of escaping every double quotes (`"`) inside, as demonstrated in the [examples](http://golang.org/pkg/text/template/#hdr-Examples) in the Go text/template documentation: +Alternatively, you can use the backtick (`` ` ``) to quote the IE conditional comments, avoiding the tedious task of escaping every double quotes (`"`) inside, as demonstrated in the [examples](https://golang.org/pkg/text/template/#hdr-Examples) in the Go text/template documentation: ```go-html-template {{ `` | safeHTML }} @@ -642,12 +642,12 @@ Go allows you to do more than what's shown here. Using Hugo's [`where` function] [`where` function]: /functions/where/ [config]: /getting-started/configuration/ -[dotdoc]: http://golang.org/pkg/text/template/#hdr-Variables +[dotdoc]: https://golang.org/pkg/text/template/#hdr-Variables [first]: /functions/first/ [front matter]: /content-management/front-matter/ [functions]: /functions/ "See the full list of Hugo's templating functions with a quick start reference guide and basic and advanced examples." -[Go html/template]: http://golang.org/pkg/html/template/ "Godocs references for Go's html templating" -[gohtmltemplate]: http://golang.org/pkg/html/template/ "Godocs references for Go's html templating" +[Go html/template]: https://golang.org/pkg/html/template/ "Godocs references for Go's html templating" +[gohtmltemplate]: https://golang.org/pkg/html/template/ "Godocs references for Go's html templating" [index]: /functions/index/ [math functions]: /functions/math/ [partials]: /templates/partials/ "Link to the partial templates page inside of the templating section of the Hugo docs" @@ -659,6 +659,6 @@ Go allows you to do more than what's shown here. Using Hugo's [`where` function] [variables]: /variables/ "See the full extent of page-, site-, and other variables that Hugo make available to you in your templates." [where]: /functions/where/ [with]: /functions/with/ -[godocsindex]: http://golang.org/pkg/text/template/ "Godocs page for index function" +[godocsindex]: https://golang.org/pkg/text/template/ "Godocs page for index function" [param]: /functions/param/ [isset]: /functions/isset/ diff --git a/content/en/templates/ordering-and-grouping.md b/content/en/templates/ordering-and-grouping.md index 078adab2c..a4f238fdf 100644 --- a/content/en/templates/ordering-and-grouping.md +++ b/content/en/templates/ordering-and-grouping.md @@ -25,7 +25,7 @@ In Hugo, A list template is any template that will be used to render multiple pi ### Section Template -This list template is used for [spf13.com](http://spf13.com/). It makes use of [partial templates][partials]. All examples use a [view](/templates/views/) called either "li" or "summary." +This list template is used for [spf13.com](https://spf13.com/). It makes use of [partial templates][partials]. All examples use a [view](/templates/views/) called either "li" or "summary." {{< code file="layouts/section/post.html" >}} {{ partial "header.html" . }} diff --git a/content/en/templates/partials.md b/content/en/templates/partials.md index 725e946fb..02fd1cb1a 100644 --- a/content/en/templates/partials.md +++ b/content/en/templates/partials.md @@ -143,7 +143,7 @@ Note that the variant parameters are not made available to the underlying partia ### Example `header.html` -The following `header.html` partial template is used for [spf13.com](http://spf13.com/): +The following `header.html` partial template is used for [spf13.com](https://spf13.com/): {{< code file="layouts/partials/header.html" download="header.html" >}} @@ -169,14 +169,14 @@ The `header.html` example partial was built before the introduction of block tem ### Example `footer.html` -The following `footer.html` partial template is used for [spf13.com](http://spf13.com/): +The following `footer.html` partial template is used for [spf13.com](https://spf13.com/): {{< code file="layouts/partials/footer.html" download="footer.html" >}}