mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 00:17:29 +00:00
Change "flavor" to "edition" when referring to builds (#1892)
This commit is contained in:
1 parent
660e7581cc
commit
b28553b624
8 files changed
+30
-30
No files matched your search
@@ -10,7 +10,7 @@ menu:
|
|||||||
toc: true
|
toc: true
|
||||||
weight: 50
|
weight: 50
|
||||||
---
|
---
|
||||||
{{% readfile file="/installation/common/01-flavors.md" %}}
|
{{% readfile file="/installation/common/01-editions.md" %}}
|
||||||
|
|
||||||
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Most BSD derivatives maintain a repository for commonly installed applications.
|
|||||||
|
|
||||||
### DragonFly BSD
|
### DragonFly BSD
|
||||||
|
|
||||||
[DragonFly BSD] includes Hugo in its package repository. This will install the extended flavor of Hugo:
|
[DragonFly BSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pkg install gohugo
|
sudo pkg install gohugo
|
||||||
@@ -34,7 +34,7 @@ sudo pkg install gohugo
|
|||||||
|
|
||||||
### FreeBSD
|
### FreeBSD
|
||||||
|
|
||||||
[FreeBSD] includes Hugo in its package repository. This will install the extended flavor of Hugo:
|
[FreeBSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pkg install gohugo
|
sudo pkg install gohugo
|
||||||
@@ -44,7 +44,7 @@ sudo pkg install gohugo
|
|||||||
|
|
||||||
### NetBSD
|
### NetBSD
|
||||||
|
|
||||||
[NetBSD] includes Hugo in its package repository. This will install the extended flavor of Hugo:
|
[NetBSD] includes Hugo in its package repository. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pkgin install go-hugo
|
sudo pkgin install go-hugo
|
||||||
@@ -54,7 +54,7 @@ sudo pkgin install go-hugo
|
|||||||
|
|
||||||
### OpenBSD
|
### OpenBSD
|
||||||
|
|
||||||
[OpenBSD] includes Hugo in its package repository. This will prompt you to select which flavor of Hugo to install:
|
[OpenBSD] includes Hugo in its package repository. This will prompt you to select which edition of Hugo to install:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
doas pkg_add hugo
|
doas pkg_add hugo
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
## Editions
|
||||||
|
|
||||||
|
Hugo is available in two editions: standard and extended. With the extended edition you can:
|
||||||
|
|
||||||
|
- Encode WebP images (you can decode WebP images with both editions)
|
||||||
|
- Transpile Sass to CSS using the embedded LibSass transpiler
|
||||||
|
|
||||||
|
We recommend that you install the extended edition.
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
## Flavors
|
|
||||||
|
|
||||||
Hugo is available in two flavors: standard and extended. With the extended flavor you can:
|
|
||||||
|
|
||||||
- Encode WebP images (decoding is also available in the standard build)
|
|
||||||
- Transpile Sass to CSS using the embedded LibSass transpiler
|
|
||||||
|
|
||||||
We recommend that you install the extended flavor.
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
Prebuilt binaries are available for a variety of operating systems and architectures. Visit the [latest release] page, and scroll down to the Assets section.
|
Prebuilt binaries are available for a variety of operating systems and architectures. Visit the [latest release] page, and scroll down to the Assets section.
|
||||||
|
|
||||||
<!-- markdownlint-disable-next-line MD051 -->
|
<!-- markdownlint-disable-next-line MD051 -->
|
||||||
1. Download the archive for the desired [flavor], operating system, and architecture
|
1. Download the archive for the desired [edition], operating system, and architecture
|
||||||
1. Extract the archive
|
1. Extract the archive
|
||||||
1. Move the executable to the desired directory
|
1. Move the executable to the desired directory
|
||||||
1. Add this directory to the PATH environment variable
|
1. Add this directory to the PATH environment variable
|
||||||
@@ -11,10 +11,10 @@ Prebuilt binaries are available for a variety of operating systems and architect
|
|||||||
|
|
||||||
Please consult your operating system documentation if you need help setting file permissions or modifying your PATH environment variable.
|
Please consult your operating system documentation if you need help setting file permissions or modifying your PATH environment variable.
|
||||||
|
|
||||||
If you do not see a prebuilt binary for the desired flavor, operating system, and architecture, install Hugo using one of the methods described below.
|
If you do not see a prebuilt binary for the desired edition, operating system, and architecture, install Hugo using one of the methods described below.
|
||||||
|
|
||||||
[commit information]: https://gohugo.io/variables/git
|
[commit information]: https://gohugo.io/variables/git
|
||||||
[flavor]: #flavors
|
[edition]: #editions
|
||||||
[Git]: https://git-scm.com/
|
[Git]: https://git-scm.com/
|
||||||
[Go]: https://go.dev/
|
[Go]: https://go.dev/
|
||||||
[Hugo Modules]: /hugo-modules/
|
[Hugo Modules]: /hugo-modules/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
[Homebrew] is a free and open source package manager for macOS and Linux. This will install the extended flavor of Hugo:
|
[Homebrew] is a free and open source package manager for macOS and Linux. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew install hugo
|
brew install hugo
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ menu:
|
|||||||
toc: true
|
toc: true
|
||||||
weight: 30
|
weight: 30
|
||||||
---
|
---
|
||||||
{{% readfile file="/installation/common/01-flavors.md" %}}
|
{{% readfile file="/installation/common/01-editions.md" %}}
|
||||||
|
|
||||||
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ weight: 30
|
|||||||
|
|
||||||
### Snap
|
### Snap
|
||||||
|
|
||||||
[Snap] is a free and open source package manager for Linux. Available for [most distributions], Snap packages are simple to install and are automatically updated. This will install the extended flavor of Hugo:
|
[Snap] is a free and open source package manager for Linux. Available for [most distributions], Snap packages are simple to install and are automatically updated. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo snap install hugo
|
sudo snap install hugo
|
||||||
@@ -39,7 +39,7 @@ Most Linux distributions maintain a repository for commonly installed applicatio
|
|||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
||||||
Derivatives of the [Arch Linux] distribution of Linux include [EndeavourOS], [Garuda Linux], [Manjaro], and others. This will install the extended flavor of Hugo:
|
Derivatives of the [Arch Linux] distribution of Linux include [EndeavourOS], [Garuda Linux], [Manjaro], and others. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pacman -S hugo
|
sudo pacman -S hugo
|
||||||
@@ -52,7 +52,7 @@ sudo pacman -S hugo
|
|||||||
|
|
||||||
### Debian
|
### Debian
|
||||||
|
|
||||||
Derivatives of the [Debian] distribution of Linux include [elementary OS], [KDE neon], [Linux Lite], [Linux Mint], [MX Linux], [Pop!_OS], [Ubuntu], [Zorin OS], and others. This will install the extended flavor of Hugo:
|
Derivatives of the [Debian] distribution of Linux include [elementary OS], [KDE neon], [Linux Lite], [Linux Mint], [MX Linux], [Pop!_OS], [Ubuntu], [Zorin OS], and others. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo apt install hugo
|
sudo apt install hugo
|
||||||
@@ -72,7 +72,7 @@ You can also download Debian packages from the [latest release] page.
|
|||||||
|
|
||||||
### Fedora
|
### Fedora
|
||||||
|
|
||||||
Derivatives of the [Fedora] distribution of Linux include [CentOS], [Red Hat Enterprise Linux], and others. This will install the extended flavor of Hugo:
|
Derivatives of the [Fedora] distribution of Linux include [CentOS], [Red Hat Enterprise Linux], and others. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -85,7 +85,7 @@ sudo dnf install hugo
|
|||||||
|
|
||||||
### openSUSE
|
### openSUSE
|
||||||
|
|
||||||
Derivatives of the [openSUSE] distribution of Linux include [GeckoLinux], [Linux Karmada], and others. This will install the extended flavor of Hugo:
|
Derivatives of the [openSUSE] distribution of Linux include [GeckoLinux], [Linux Karmada], and others. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -98,7 +98,7 @@ sudo zypper install hugo
|
|||||||
|
|
||||||
### Solus
|
### Solus
|
||||||
|
|
||||||
The [Solus] distribution of Linux includes Hugo in its package repository. This will install the _standard_ flavor of Hugo:
|
The [Solus] distribution of Linux includes Hugo in its package repository. This will install the _standard_ edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo eopkg install hugo
|
sudo eopkg install hugo
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ menu:
|
|||||||
toc: true
|
toc: true
|
||||||
weight: 20
|
weight: 20
|
||||||
---
|
---
|
||||||
{{% readfile file="/installation/common/01-flavors.md" %}}
|
{{% readfile file="/installation/common/01-editions.md" %}}
|
||||||
|
|
||||||
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ weight: 20
|
|||||||
|
|
||||||
### MacPorts
|
### MacPorts
|
||||||
|
|
||||||
[MacPorts] is a free and open source package manager for macOS. This will install the extended flavor of Hugo:
|
[MacPorts] is a free and open source package manager for macOS. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo port install hugo
|
sudo port install hugo
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ menu:
|
|||||||
toc: true
|
toc: true
|
||||||
weight: 40
|
weight: 40
|
||||||
---
|
---
|
||||||
{{% readfile file="/installation/common/01-flavors.md" %}}
|
{{% readfile file="/installation/common/01-editions.md" %}}
|
||||||
|
|
||||||
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
{{% readfile file="/installation/common/02-prerequisites.md" %}}
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ weight: 40
|
|||||||
|
|
||||||
### Chocolatey
|
### Chocolatey
|
||||||
|
|
||||||
[Chocolatey] is a free and open source package manager for Windows. This will install the extended flavor of Hugo:
|
[Chocolatey] is a free and open source package manager for Windows. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
choco install hugo-extended
|
choco install hugo-extended
|
||||||
@@ -30,7 +30,7 @@ choco install hugo-extended
|
|||||||
|
|
||||||
### Scoop
|
### Scoop
|
||||||
|
|
||||||
[Scoop] is a free and open source package manager for Windows. This will install the extended flavor of Hugo:
|
[Scoop] is a free and open source package manager for Windows. This will install the extended edition of Hugo:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
scoop install hugo-extended
|
scoop install hugo-extended
|
||||||
@@ -43,7 +43,7 @@ scoop install hugo-extended
|
|||||||
{{% readfile file="/installation/common/05-build-from-source.md" %}}
|
{{% readfile file="/installation/common/05-build-from-source.md" %}}
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
When building the extended flavor of Hugo from source on Windows, you will also need to install the [GCC compiler]. See these [detailed instructions].
|
When building the extended edition of Hugo from source on Windows, you will also need to install the [GCC compiler]. See these [detailed instructions].
|
||||||
|
|
||||||
[detailed instructions]: https://discourse.gohugo.io/t/41370
|
[detailed instructions]: https://discourse.gohugo.io/t/41370
|
||||||
[GCC compiler]: https://gcc.gnu.org/
|
[GCC compiler]: https://gcc.gnu.org/
|
||||||
|
|||||||
Reference in new issue
Block a user