hugo/docs/content/en/functions
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
..
cast Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
collections Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
compare Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
crypto Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
css Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
data Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
debug Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
diagrams Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
encoding Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
fmt Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
global Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
go-template Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
hash Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
hugo Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
images images: Add option for vertical alignment to images.Text 2025-04-24 14:09:13 +02:00
inflect Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
js Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
lang Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
math Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
openapi3 Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
os Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
partials Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
path Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
reflect Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
resources Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
safe Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
strings Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
templates Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
time Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
transform Merge commit 'b3d87dd0fd' 2025-04-24 10:23:16 +02:00
urls Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00
_index.md Merge commit '5be51ac3db' 2025-04-10 13:04:51 +02:00