Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'

This commit is contained in:
Bjørn Erik Pedersen
2023-05-22 16:47:07 +02:00
341 changed files with 3107 additions and 4238 deletions

View File

@@ -9,7 +9,6 @@ menu:
docs:
parent: installation
weight: 10
toc: false
---
{{% param "description" %}}

View File

@@ -1,6 +1,5 @@
---
title: BSD
linkTitle: BSD
description: Install Hugo on BSD derivatives.
categories: [installation]
menu:

View File

@@ -1,6 +1,5 @@
---
title: Linux
linkTitle: Linux
description: Install Hugo on Linux.
categories: [installation]
menu:
@@ -20,13 +19,18 @@ weight: 30
### 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 edition 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.
The Hugo snap package is [strictly confined]. Strictly confined snaps run in complete isolation, up to a minimal access level thats deemed always safe. The sites you create and build must be located within your home directory, or on removable media.
This will install the extended edition of Hugo:
```sh
sudo snap install hugo
```
[most distributions]: https://snapcraft.io/docs/installing-snapd
[strictly confined]: https://snapcraft.io/docs/snap-confinement
[Snap]: https://snapcraft.io/
{{% readfile file="/installation/common/homebrew.md" %}}
@@ -104,7 +108,7 @@ The [Solus] distribution of Linux includes Hugo in its package repository. This
sudo eopkg install hugo
```
[Solus]: https://getsol.us/home/
[Solus]: https://getsol.us/
{{% readfile file="/installation/common/04-docker.md" %}}

View File

@@ -1,6 +1,5 @@
---
title: macOS
linkTitle: macOS
description: Install Hugo on macOS.
categories: [installation]
menu:

View File

@@ -1,6 +1,5 @@
---
title: Windows
linkTitle: Windows
description: Install Hugo on Windows.
categories: [installation]
menu:
@@ -38,6 +37,16 @@ scoop install hugo-extended
[Scoop]: https://scoop.sh/
### Winget
[Winget] is Microsoft's official free and open source package manager for Windows. This will install the extended edition of Hugo:
```sh
winget install Hugo.Hugo.Extended
```
[Winget]: https://learn.microsoft.com/en-us/windows/package-manager/
{{% readfile file="/installation/common/04-docker.md" %}}
{{% readfile file="/installation/common/05-build-from-source.md" %}}