templ generate, add markdown syntax highlighting, fix stuff

This commit is contained in:
2025-08-17 14:15:46 +00:00
parent 59d82ae563
commit 749d68cdeb
23 changed files with 1106 additions and 135 deletions

View File

@@ -9,7 +9,7 @@ templ Pagination(currentPage, totalPages int) {
hx-get={ fmt.Sprintf("/?page=%d", currentPage-1) }
hx-target="#post-list"
hx-swap="outerHTML">
<- Previous
Previous
</a>
}
@@ -22,7 +22,7 @@ templ Pagination(currentPage, totalPages int) {
hx-get={ fmt.Sprintf("/?page=%d", currentPage+1) }
hx-target="#post-list"
hx-swap="outerHTML">
Next ->
Next
</a>
}
</div>