summaryrefslogtreecommitdiffstats
path: root/docs/content/en
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-07 07:00:01 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-07-07 07:00:01 +0200
commitf1916f114b288a8e8598bbcbeeba95fbcea6afb3 (patch)
treea2986e45da0b513636f18afae022c3cd92c33005 /docs/content/en
parent12a65e76df9470d9563b91a22969ddb41b7c19aa (diff)
parent6aa5c9117fd34644459ea9bcfb1b3f5010658d5d (diff)
Diffstat (limited to 'docs/content/en')
-rw-r--r--docs/content/en/content-management/front-matter.md2
-rw-r--r--docs/content/en/content-management/taxonomies.md12
-rw-r--r--docs/content/en/getting-started/configuration.md4
-rw-r--r--docs/content/en/getting-started/installing.md2
-rw-r--r--docs/content/en/getting-started/quick-start.md2
-rw-r--r--docs/content/en/hosting-and-deployment/hosting-on-github.md1
-rw-r--r--docs/content/en/news/0.73.0-relnotes/hugo-73-featured.pngbin0 -> 186170 bytes
-rw-r--r--docs/content/en/news/0.73.0-relnotes/index.md11
8 files changed, 15 insertions, 19 deletions
diff --git a/docs/content/en/content-management/front-matter.md b/docs/content/en/content-management/front-matter.md
index b6276a439..a14cb3065 100644
--- a/docs/content/en/content-management/front-matter.md
+++ b/docs/content/en/content-management/front-matter.md
@@ -135,7 +135,7 @@ videos
: an array of paths to videos related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:video`.
weight
-: used for [ordering your content in lists][ordering]. Lower weight gets higher precedence. So content with lower weight will come first.
+: used for [ordering your content in lists][ordering]. Lower weight gets higher precedence. So content with lower weight will come first. If set, weights should be non-zero, as 0 is interpreted as an *unset* weight.
\<taxonomies\>
: field name of the *plural* form of the index. See `tags` and `categories` in the above front matter examples. _Note that the plural form of user-defined taxonomies cannot be the same as any of the predefined front matter variables._
diff --git a/docs/content/en/content-management/taxonomies.md b/docs/content/en/content-management/taxonomies.md
index 869193cb3..f5ee00cd3 100644
--- a/docs/content/en/content-management/taxonomies.md
+++ b/docs/content/en/content-management/taxonomies.md
@@ -100,7 +100,7 @@ disableKinds = ["taxonomy","term"]
{{< new-in "0.73.0" >}} We have fixed the before confusing page kinds used for taxonomies (see the listing below) to be in line with the terms used when we talk about taxonomies. We have been careful to avoid site breakage, and you should get an ERROR in the console if you need to adjust your `disableKinds` section.
-{{< page-kinds >}}
+{{% page-kinds %}}
### Default Destinations
@@ -194,13 +194,13 @@ Currently taxonomies only support the [default `weight => date` ordering of list
## Add custom metadata a Taxonomy or Term
-If you need to add custom metadata to your taxonomy terms, you will need to create a page for that term at `/content/<TAXONOMY>/<TERM>/_index.md` and add your metadata in it's front matter. Continuing with our 'Actors' example, let's say you want to add a wikipedia page link to each actor. Your terms pages would be something like this:
+If you need to add custom metadata to your taxonomy terms, you will need to create a page for that term at `/content/<TAXONOMY>/<TERM>/_index.md` and add your metadata in it's front matter. Continuing with our 'Actors' example, let's say you want to add a Wikipedia page link to each actor. Your terms pages would be something like this:
{{< code file="/content/actors/bruce-willis/_index.md" >}}
- ---
- title: "Bruce Willis"
- wikipedia: "https://en.wikipedia.org/wiki/Bruce_Willis"
- ---
+---
+title: "Bruce Willis"
+wikipedia: "https://en.wikipedia.org/wiki/Bruce_Willis"
+---
{{< /code >}}
diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md
index ffc11938c..076d9161c 100644
--- a/docs/content/en/getting-started/configuration.md
+++ b/docs/content/en/getting-started/configuration.md
@@ -514,7 +514,7 @@ Default configuration:
Since Hugo 0.52 you can configure more than just the `cacheDir`. This is the default configuration:
-```toml
+{{< code-toggle >}}
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
@@ -531,7 +531,7 @@ maxAge = -1
[caches.modules]
dir = ":cacheDir/modules"
maxAge = -1
-```
+{{< /code-toggle >}}
You can override any of these cache settings in your own `config.toml`.
diff --git a/docs/content/en/getting-started/installing.md b/docs/content/en/getting-started/installing.md
index b9c022a73..f92ad21aa 100644
--- a/docs/content/en/getting-started/installing.md
+++ b/docs/content/en/getting-started/installing.md
@@ -46,7 +46,7 @@ Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/loca
### Docker
-We currently do not official Hugo images for Docker, but we do recommend these up to date distributions: https://hub.docker.com/r/klakegg/hugo/
+We currently do not offer official Hugo images for Docker, but we do recommend these up to date distributions: https://hub.docker.com/r/klakegg/hugo/
### Homebrew (macOS)
diff --git a/docs/content/en/getting-started/quick-start.md b/docs/content/en/getting-started/quick-start.md
index 525ff8920..0d79c3ed5 100644
--- a/docs/content/en/getting-started/quick-start.md
+++ b/docs/content/en/getting-started/quick-start.md
@@ -58,7 +58,7 @@ The above will create a new Hugo site in a folder named `quickstart`.
See [themes.gohugo.io](https://themes.gohugo.io/) for a list of themes to consider. This quickstart uses the beautiful [Ananke theme](https://themes.gohugo.io/gohugo-theme-ananke/).
-First, download the theme from GitHub and add it to your site's `theme` directory:
+First, download the theme from GitHub and add it to your site's `themes` directory:
```bash
cd quickstart
diff --git a/docs/content/en/hosting-and-deployment/hosting-on-github.md b/docs/content/en/hosting-and-deployment/hosting-on-github.md
index d8f6699c5..7a15d1b75 100644
--- a/docs/content/en/hosting-and-deployment/hosting-on-github.md
+++ b/docs/content/en/hosting-and-deployment/hosting-on-github.md
@@ -59,6 +59,7 @@ This is a much simpler setup as your Hugo files and generated content are publis
* Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to kill the server
* Before proceeding run `rm -rf public` to completely remove the `public` directory
6. `git submodule add -b master https://github.com/<USERNAME>/<USERNAME>.github.io.git public`. This creates a git [submodule][]. Now when you run the `hugo` command to build your site to `public`, the created `public` directory will have a different remote origin (i.e. hosted GitHub repository).
+7. Make sure the `baseURL` in your config file is updated with: `<USERNAME>.github.io`
### Put it Into a Script
diff --git a/docs/content/en/news/0.73.0-relnotes/hugo-73-featured.png b/docs/content/en/news/0.73.0-relnotes/hugo-73-featured.png
new file mode 100644
index 000000000..92685b15c
--- /dev/null
+++ b/docs/content/en/news/0.73.0-relnotes/hugo-73-featured.png
Binary files differ
diff --git a/docs/content/en/news/0.73.0-relnotes/index.md b/docs/content/en/news/0.73.0-relnotes/index.md
index 20df1b40b..398869e92 100644
--- a/docs/content/en/news/0.73.0-relnotes/index.md
+++ b/docs/content/en/news/0.73.0-relnotes/index.md
@@ -1,12 +1,12 @@
---
date: 2020-06-23
-title: "0.73.0"
-description: "0.73.0"
+title: "Summer Breeze"
+description: "Taxonomy terms cleanup, render hooks per section/type, HMAC function, and more."
categories: ["Releases"]
---
- Again, a release on the small side. Some new features -- one example is that we now support hook templates per section/type, see [#7349](https://github.com/gohugoio/hugo/issues/7349) -- and some important bug fixes.
+Again, a release on the small side. Some new features -- one example is that we now support hook templates per section/type, see [#7349](https://github.com/gohugoio/hugo/issues/7349) -- and some important bug fixes.
But the most important part of this release is that we have now finally cleaned up the terms used for the taxonomy page kinds. This has made the taxonomy feature in Hugo harder to understand than it needed to be. The old/new values for these are `taxonomy` => `term` and `taxonomyTerm` => `taxonomy`. We have taken great care to avoid site breakage. See [#6911](https://github.com/gohugoio/hugo/issues/6911) for more information.
@@ -17,11 +17,6 @@ Many have also been busy writing and fixing the documentation in [hugoDocs](http
which has received **30 contributions by 14 contributors**. A special thanks to christianoliff, bjorn.erik.pedersen, patrick, and hello for their work on the documentation site.
-Hugo now has:
-
-
-* 326+ [themes](http://themes.gohugo.io/)
-
## Notes
* Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [#6911](https://github.com/gohugoio/hugo/issues/6911)