Skip to content

Commit

Permalink
Revert "Squashed 'docs/' changes from 35abbc86..f887bd7b"
Browse files Browse the repository at this point in the history
That did not go well...

This reverts commit 0373e43.
  • Loading branch information
bep committed Aug 10, 2017
1 parent 0373e43 commit 9a2eb0f
Show file tree
Hide file tree
Showing 265 changed files with 16 additions and 14,813 deletions.
81 changes: 0 additions & 81 deletions content/news/0.26-relnotes.md

This file was deleted.

78 changes: 0 additions & 78 deletions content/release-notes/0.25-relnotes.md

This file was deleted.

28 changes: 0 additions & 28 deletions content/release-notes/0.25.1-relnotes.md

This file was deleted.

15 changes: 1 addition & 14 deletions docs/content/content-management/taxonomies.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Moonrise Kingdom <- Content

## Hugo Taxonomy Defaults

Hugo natively supports taxonomies.
Hugo natively supports taxonomies.

Without adding a single line to your site's configuration file, Hugo will automatically create taxonomies for `tags` and `categories`. If you do not want Hugo to create any taxonomies, set `disableKinds` in your site's configuration to the following:

Expand Down Expand Up @@ -229,19 +229,6 @@ By using taxonomic weight, the same piece of content can appear in different pos
Currently taxonomies only support the [default `weight => date` ordering of list content](/templates/lists/#default-weight-date). For more information, see the documentation on [taxonomy templates](/templates/taxonomy-templates/).
{{% /note %}}

## Add custom metadata to a Taxonomy 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:

{{< code file="/content/actors/bruce-willis/_index.md" >}}
---
title: "Bruce Willis"
wikipedia: "https://en.wikipedia.org/wiki/Bruce_Willis"
---
{{< /code >}}

You can later use your custom metadata as shown in the [Taxonomy Terms Templates documentation](/templates/taxonomy-templates/#displaying-custom-meta-data-in-taxonomy-terms-templates).

[`urlize` template function]: /functions/urlize/
[content section]: /content-management/sections/
[content type]: /content-management/types/
Expand Down
4 changes: 0 additions & 4 deletions docs/content/functions/scratch.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ aliases: [/extras/scratch/,/doc/scratch/]

In most cases you can do well without `Scratch`, but there are some use cases that aren't solvable with Go's templates without `Scratch`'s help, due to scoping issues.

{{% note %}}
See [this Go issue](https://github.com/golang/go/issues/10608) for the main motivation behind Scratch.
{{% /note %}}

`Scratch` is added to both `Page` and `Shortcode` -- with following methods:

* `Set` and `Add` takes a `key` and the `value` to add.
Expand Down
6 changes: 1 addition & 5 deletions docs/content/getting-started/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ stepAnalysis: false
themesDir: "themes"
theme: ""
title: ""
# Title Case style guide for the title func and other automatic title casing in Hugo.
// Valid values are "AP" (default), "Chicago" and "Go" (which was what you had in Hugo <= 0.25.1).
// See https://www.apstylebook.com/ and http://www.chicagomanualofstyle.org/home.html
titleCaseStyle: "AP"
# if true, use /filename.html instead of /filename/
# Title Case style guide for the title func and other automatic title casing in Hugo.
// Valid values are "AP" (default), "Chicago" and "Go" (which was what you had in Hugo <= 0.25.1).
Expand Down Expand Up @@ -396,4 +392,4 @@ Hugo v0.20 introduced the ability to render your content to multiple output form
[Output Formats]: /templates/output-formats/
[templates]: /templates/
[toml]: https://github.com/toml-lang/toml
[yaml]: http://yaml.org/spec/
[yaml]: http://yaml.org/spec/
9 changes: 6 additions & 3 deletions docs/content/getting-started/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,15 @@ sudo apt-get install hugo

* Might not be the latest version, especially if you are using an older, stable version (e.g., Ubuntu 16.04 LTS). Until backports and PPA are available, you may consider installing the Hugo snap package to get the latest version of Hugo.

### Arch Linux
### Arch

You can also install Hugo from the Arch Linux [community](https://www.archlinux.org/packages/community/x86_64/hugo/) repository. Applies also for derivatives such as Manjaro.
You can also install Hugo from the [Arch user repository](https://aur.archlinux.org/) on Arch Linux or derivatives such as Manjaro.

Be aware that Hugo is built from source. This means that additional tools like [Git](https://git-scm.com) and [Go](https://golang.org/doc/install) will be installed as well.

```
sudo pacman -Sy hugo
sudo pacman -S yaourt
yaourt -S hugo
```

### Fedora, CentOS, and Red Hat
Expand Down
Loading

0 comments on commit 9a2eb0f

Please sign in to comment.