Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
hugo extended_0.152.2 # Should match the version in compose.yml
hugo extended_0.158.0 # Should match the version in compose.yml
golang 1.21.0
8 changes: 8 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,11 @@ a.broken {
border: 2px solid #f00;
padding: 0.1em 0.2em;
}

/* -----------------------------------------------
Fix card vertical aligning
See https://github.com/medic/cht-docs/pull/2152#issuecomment-4092760195
--------------------------------------------------*/
.hextra-cards>a>div.hx\:mt-auto {
margin-top: unset;
}
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
hugo:
container_name: cht-hugo
image: docker.io/hugomods/hugo:0.152.2 # Should match the version in .tool-versions
image: docker.io/hugomods/hugo:0.158.0 # Should match the version in .tool-versions
ports:
- 1313:1313
volumes:
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/medic/cht-docs

go 1.13
go 1.21

require (
github.com/imfing/hextra v0.11.1 // indirect
)
toolchain go1.21.0

require github.com/imfing/hextra v0.12.1 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/imfing/hextra v0.11.1 h1:8pTc4ReYbzGTHAnyiebmlT3ijFfIXiGu1r7tM/UGjFI=
github.com/imfing/hextra v0.11.1/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
github.com/imfing/hextra v0.12.1 h1:3t1n0bmJbDzSTVfht93UDcfF1BXMRjeFojA071ri2l8=
github.com/imfing/hextra v0.12.1/go.mod h1:vi+yhpq8YPp/aghvJlNKVnJKcPJ/VyAEcfC1BSV9ARo=
5 changes: 4 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,7 @@ display = "hover"

[params.banner]
key = "announcement-5.1"
message = "Android notifications 🔔, contact attachments 🖼️ and more 🎉 [CHT 5.1](/releases/5_1_0/) is here! "
message = "Android notifications 🔔, contact attachments 🖼️ and more 🎉 [CHT 5.1](/releases/5_1_0/) is here! "

[params.imageZoom]
enable = true
Loading