mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +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 |
||
---|---|---|
.. | ||
.github | ||
.vscode | ||
archetypes | ||
assets | ||
content | ||
data | ||
layouts | ||
static | ||
.codespellrc | ||
.cspell.json | ||
.editorconfig | ||
.gitignore | ||
.markdownlint.yaml | ||
.markdownlintignore | ||
.prettierignore | ||
.prettierrc | ||
.textlintignore | ||
go.mod | ||
go.sum | ||
hugo.toml | ||
hugo.work | ||
hugoreleaser.yaml | ||
LICENSE.md | ||
netlify.toml | ||
package.hugo.json | ||
package.json | ||
README.md | ||
tailwind.config.js |
A fast and flexible static site generator built with love by bep, spf13, and friends in Go.
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.