mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 21:51:02 +03:00
![]() 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 |
||
---|---|---|
.. | ||
cast | ||
collections | ||
compare | ||
crypto | ||
css | ||
data | ||
debug | ||
diagrams | ||
encoding | ||
fmt | ||
global | ||
go-template | ||
hash | ||
hugo | ||
images | ||
inflect | ||
js | ||
lang | ||
math | ||
openapi3 | ||
os | ||
partials | ||
path | ||
reflect | ||
resources | ||
safe | ||
strings | ||
templates | ||
time | ||
transform | ||
urls | ||
_index.md |