mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
4 days ago 65dec45ece2188f814fff0d907db47fe0e6b9456
refs
author Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Saturday, January 17, 2026 23:55 +0100
committer GitHub <noreply@github.com>
Saturday, January 17, 2026 23:55 +0100
commit65dec45ece2188f814fff0d907db47fe0e6b9456
tree 84e64c3f36e5c9ef2a8b540e4d4aeecc59be4309 tree | zip | gz
parent 4a50edda116e3249598622414abd256ef5d59aeb view | diff
fix: add alignment option to home layout (#896)

This adds a configuration parameter for the home page layout to align
the content.

```toml
[params.ananke.home]
content_alignment = "center"
```

Default is `center` (due to it being the previous layout option).
Possible options are `left`, `right`, and `center`. This influences
_only_ the home page markdown content, not other parts of the home page.

---------

Signed-off-by: Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2 files modified
14 ■■■■■ changed files
config/_default/params.toml 3 ●●●●● diff | view | raw | blame | history
layouts/home.html 11 ●●●●● diff | view | raw | blame | history