hugo/docs
Pranshu Gaba 2fce0bac03 images: Add option for vertical alignment to images.Text
Add option ``aligny`` to specify the vertical alignment of the text
with respect to the ``y`` offset from the top of the image. Possible
values of ``aligny`` are ``top`` (default), ``center``, and ``bottom``.

The height of the block of text is measured from the top of the first
line to the baseline of the last line.

- ``top``: (Current behaviour) The top of the first line of the block of
  text is at an offset of ``y`` from the top of the image.

- ``center``: The vertical center of the block of text is at an offset of
  ``y`` from the top of the image.

- ``bottom``: The baseline of the last line of the text is at an offset
  of ``y`` from the top of the image.

Resolves #13414
2025-04-24 14:09:13 +02:00
..
.github Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00
.vscode Merge commit '9b0050e9aa' as 'docs' 2024-01-27 10:48:57 +01:00
archetypes Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
assets Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
content images: Add option for vertical alignment to images.Text 2025-04-24 14:09:13 +02:00
data Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
layouts Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
static Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.codespellrc Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00
.cspell.json Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.editorconfig Merge commit '9b0050e9aa' as 'docs' 2024-01-27 10:48:57 +01:00
.gitignore Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.markdownlint.yaml Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.markdownlintignore Merge commit '9b0050e9aa' as 'docs' 2024-01-27 10:48:57 +01:00
.prettierignore Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.prettierrc Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
.textlintignore Merge commit '9b0050e9aa' as 'docs' 2024-01-27 10:48:57 +01:00
go.mod Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00
go.sum Merge commit '346b60358d' 2025-01-23 09:47:46 +01:00
hugo.toml Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
hugo.work Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00
hugoreleaser.yaml Merge commit '346b60358d' 2025-01-23 09:47:46 +01:00
LICENSE.md Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
netlify.toml Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
package.hugo.json Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
package.json Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
README.md Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
tailwind.config.js Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00

Hugo

A fast and flexible static site generator built with love by bep, spf13, and friends in Go.


Netlify Status PRs Welcome

This is the repository for the Hugo documentation site.

Please see the contributing section for guidelines, examples, and process.

Install

npm i
hugo server

Note: We're working on removing the need to run npm i for local development. Stay tuned.