template: substitute placeholders
CD / Detect unsubstituted template (push) Has been cancelled
CD / Lint / Test / Vet (push) Has been cancelled
CD / Build & Import (push) Has been cancelled
CD / Deploy via GitOps (push) Has been cancelled

This commit is contained in:
mathias
2026-07-19 08:29:48 +00:00
parent 193425796f
commit 9ea65ef5d2
+2 -2
View File
@@ -1,8 +1,8 @@
package web
templ Index() {
@Layout("__PROJECT_NAME__") {
<h1 class="text-3xl font-semibold mb-6">__PROJECT_NAME__</h1>
@Layout("cad-atlas") {
<h1 class="text-3xl font-semibold mb-6">cad-atlas</h1>
<button hx-get="/api/hello" hx-target="#out"
class="px-4 py-2 bg-slate-900 text-white rounded-md hover:bg-slate-700">
Say hello