Merge commit '9aec42c5452b3eb224888c50ba1c3f3b68a447e9'

This commit is contained in:
Bjørn Erik Pedersen
2023-09-24 11:54:45 +02:00
18 changed files with 316 additions and 165 deletions

View File

@@ -48,6 +48,7 @@ These are some alternatives to Disqus:
* [Cactus Comments](https://cactus.chat/docs/integrations/hugo/) (Open Source, Matrix appservice, Docker install)
* [Commento](https://commento.io/) (Open Source, available as a service, local install, or docker image)
* [Giscus](https://giscus.app/) (Open source, comments system powered by GitHub Discussions)
* [Graph Comment](https://graphcomment.com/)
* [Hyvor Talk](https://talk.hyvor.com/) (Available as a service)
* [IntenseDebate](https://intensedebate.com/)

View File

@@ -301,7 +301,7 @@ In the example above, on the second line, we have reversed width and height to r
### Anchor
When using the [`Crop`] or [`Fill`] method, the _anchor_ determines the placement of the crop box. You may specify `TopLeft`, `Top`, `TopRight`, `Left`, `Center`,`Right`, `BottomLeft`, `Bottom`, `BottomRight`, or `Smart`.
When using the [`Crop`] or [`Fill`] method, the _anchor_ determines the placement of the crop box. You may specify `TopLeft`, `Top`, `TopRight`, `Left`, `Center`, `Right`, `BottomLeft`, `Bottom`, `BottomRight`, or `Smart`.
The default value is `Smart`, which uses [Smartcrop] image analysis to determine the optimal placement of the crop box. You may override the default value in the [site configuration].

View File

@@ -102,11 +102,11 @@ With this content structure:
```text
content/
├── posts/
   ├── bash-in-slow-motion.md
   └── tls-in-a-nutshell.md
├── bash-in-slow-motion.md
└── tls-in-a-nutshell.md
├── tutorials/
   ├── git-for-beginners.md
   └── javascript-bundling-with-hugo.md
├── git-for-beginners.md
└── javascript-bundling-with-hugo.md
└── _index.md
```
@@ -165,15 +165,15 @@ With this content structure:
```text
content/
├── de/
   ├── books/
   │   ├── les-miserables.md
   │   └── the-hunchback-of-notre-dame.md
   └── _index.md
└── en/
├── en/
├── books/
├── les-miserables.md
└── the-hunchback-of-notre-dame.md
└── _index.md
└── es/
├── books/
   ├── les-miserables.md
   └── the-hunchback-of-notre-dame.md
├── les-miserables.md
└── the-hunchback-of-notre-dame.md
└── _index.md
```
@@ -197,7 +197,7 @@ books = "/books/:slug/"
books = "/books/"
[languages.es]
contentDir = 'content/de'
contentDir = 'content/es'
languageCode = 'es-ES'
languageDirection = 'ltr'
languageName = 'Español'
@@ -215,21 +215,21 @@ The structure of the published site will be:
```text
public/
├── en/
   ├── books/
   │   ├── les-miserables/
   │   │   └── index.html
   │   ├── the-hunchback-of-notre-dame/
   │   │   └── index.html
   │   └── index.html
   └── index.html
├── books/
├── les-miserables/
│ │ └── index.html
├── the-hunchback-of-notre-dame/
│ │ └── index.html
└── index.html
└── index.html
├── es/
   ├── libros/
   │   ├── les-miserables/
   │   │   └── index.html
   │   ├── the-hunchback-of-notre-dame/
   │   │   └── index.html
   │   └── index.html
   └── index.html
├── libros/
├── les-miserables/
│ │ └── index.html
├── the-hunchback-of-notre-dame/
│ │ └── index.html
└── index.html
└── index.html
└── index.html
````