hugo/docs/content/en
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
..
_common Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
about Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
commands Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
configuration Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
content-management Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
contribute Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
functions images: Add option for vertical alignment to images.Text 2025-04-24 14:09:13 +02:00
getting-started Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
host-and-deploy Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
hugo-modules Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
hugo-pipes Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
installation Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
methods Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
news Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
quick-reference Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
render-hooks Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
shortcodes Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
showcase Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
templates Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
tools Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
troubleshooting Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
_index.md Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
documentation.md Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
featured.png Merge commit '9b0050e9aa' as 'docs' 2024-01-27 10:48:57 +01:00