Skip to content

Commit

Permalink
Add version verification step to quick start guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Jan 14, 2024
1 parent 8fafca4 commit c852fe4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion content/en/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ menu:
weight: 20
toc: true
aliases: [/quickstart/,/overview/quickstart/]
minVersion: v0.112.0
---

In this tutorial you will:
Expand All @@ -23,7 +24,7 @@ In this tutorial you will:

Before you begin this tutorial you must:

1. [Install Hugo] (extended edition, v0.112.0 or later)
1. [Install Hugo] (extended edition, {{% param "minVersion" %}} or later)
1. [Install Git]

You must also be comfortable working from the command line.
Expand All @@ -45,6 +46,12 @@ PowerShell and Windows PowerShell [are different applications].
[are different applications]: https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.3
{{% /note %}}

Verify that you have installed Hugo {{% param "minVersion" %}} or later.

```text
hugo version
```

Run these commands to create a Hugo site with the [Ananke] theme. The next section provides an explanation of each command.

```text
Expand Down
6 changes: 4 additions & 2 deletions content/en/installation/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ sudo snap disconnect hugo:ssh-keys
Most Linux distributions maintain a repository for commonly installed applications.

{{% note %}}
Due to Long Term Release policies, some Linux package repositories will not contain the [latest release].
The Hugo version available in package repositories varies based on Linux distribution and release, and in some cases will not be the [latest version].

[latest release]: https://github.com/gohugoio/hugo/releases/latest
Use one of the other installation methods if your package repository does not provide the desired version.

[latest version]: https://github.com/gohugoio/hugo/releases/latest
{{% /note %}}

### Alpine Linux
Expand Down

0 comments on commit c852fe4

Please sign in to comment.