Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'

This commit is contained in:
Bjørn Erik Pedersen
2025-01-23 09:47:46 +01:00
384 changed files with 3305 additions and 3271 deletions

View File

@@ -91,7 +91,7 @@ USER=my-user
HOST=my-server.com
DIR=my/directory/to/topologix.fr/ # the directory where your website files should go
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public folder
hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} # this will delete everything on the server that's not in the local public directory
exit 0
```

View File

@@ -31,7 +31,7 @@ This guide assumes you already have a Hugo project to deploy. If you need a proj
You can set up a Hugo site on 21YunBox in two quick steps:
1. Create a new web service on 21YunBox, and give 21YunBox permission to access your GitHub or Gitee repo.
2. Use the following values during creation:
1. Use the following values during creation:
| Field | Value |
| --------------------- | ------------------------------------------------ |

View File

@@ -14,10 +14,10 @@ toc: true
Please complete the following tasks before continuing:
1. [Create an AWS account]
2. [Install Git]
3. [Create a Hugo site] and test it locally with `hugo server`
4. Commit the changes to your local repository
5. Push the local repository to your [GitHub], [GitLab], or [Bitbucket] account
1. [Install Git]
1. [Create a Hugo site] and test it locally with `hugo server`
1. Commit the changes to your local repository
1. Push the local repository to your [GitHub], [GitLab], or [Bitbucket] account
[Bitbucket]: https://bitbucket.org/product
[Create a Hugo site]: /getting-started/quick-start/

View File

@@ -15,8 +15,8 @@ aliases: [/tutorials/github-pages-blog/]
Please complete the following tasks before continuing:
1. [Create a GitHub account]
2. [Install Git]
3. [Create a Hugo site] and test it locally with `hugo server`.
1. [Install Git]
1. [Create a Hugo site] and test it locally with `hugo server`.
[Create a GitHub account]: https://github.com/signup
[Install Git]: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
@@ -100,7 +100,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.137.1
HUGO_VERSION: 0.141.0
steps:
- name: Install Hugo CLI
run: |

View File

@@ -14,10 +14,10 @@ toc: true
Please complete the following tasks before continuing:
1. [Create a Netlify account]
2. [Install Git]
3. [Create a Hugo site] and test it locally with `hugo server`
4. Commit the changes to your local repository
5. Push the local repository to your [GitHub], [GitLab], or [Bitbucket] account
1. [Install Git]
1. [Create a Hugo site] and test it locally with `hugo server`
1. Commit the changes to your local repository
1. Push the local repository to your [GitHub], [GitLab], or [Bitbucket] account
[Bitbucket]: https://bitbucket.org/product
[Create a Hugo site]: /getting-started/quick-start/
@@ -103,7 +103,8 @@ Create a new file named netlify.toml in the root of your project directory. In i
{{< code file=netlify.toml >}}
[build.environment]
HUGO_VERSION = "0.137.1"
HUGO_VERSION = "0.141.0"
NODE_VERSION = "22"
TZ = "America/Los_Angeles"
[build]
@@ -115,8 +116,9 @@ If your site requires Dart Sass to transpile Sass to CSS, the configuration file
{{< code file=netlify.toml >}}
[build.environment]
HUGO_VERSION = "0.137.1"
DART_SASS_VERSION = "1.80.6"
HUGO_VERSION = "0.141.0"
DART_SASS_VERSION = "1.83.4"
NODE_VERSION = "22"
TZ = "America/Los_Angeles"
[build]

View File

@@ -34,7 +34,6 @@ This feature requires the Hugo extended/deploy edition. See the [installation] s
* Amazon S3: [create a bucket](https://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) and [host a static website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html)
* Microsoft Azure: [create a storage container](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal) and [host a static website](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website)
## Configuring your first deployment
In the configuration file for your site, add a `[deployment]` section
@@ -82,7 +81,6 @@ configuration.
See `hugo help deploy` or [the deploy command-line documentation][commandline] for more command-line options.
### How the file list works
The first thing `hugo deploy` does is create file lists for local and remote by
@@ -95,7 +93,6 @@ the [deployment target's configuration][config] --
* If the configuration specifies an `exclude` pattern, files matching the
pattern are skipped.
{{% note %}}
When creating the local file list, a few additional skips apply: first, Hugo always
skips files named `.DS_Store`.
@@ -107,8 +104,6 @@ traverse into them, except for the special [hidden directory named
traversed if it exists.
{{% /note %}}
### How the local and remote file lists are compared
In the second step, Hugo compares the two file lists to figure out what changes
@@ -175,8 +170,8 @@ URL = "<FILL ME IN>"
# Azure Blob Storage; see https://gocloud.dev/howto/blob/#azure
#URL = "azblob://$web"
# You can use a "prefix=" query parameter to target a subfolder of the bucket:
#URL = "gs://<Bucket Name>?prefix=a/subfolder/"
# You can use a "prefix=" query parameter to target a subdirectory of the bucket:
#URL = "gs://<Bucket Name>?prefix=a/subdirectory/"
# If you are using a CloudFront CDN, deploy will invalidate the cache as needed.
#cloudFrontDistributionID = "<FILL ME IN>"