initial commit - added base, need to fix templ errors

This commit is contained in:
2025-08-17 10:58:31 +00:00
commit 59d82ae563
20 changed files with 1512 additions and 0 deletions

12
templates/home.templ Normal file
View File

@@ -0,0 +1,12 @@
package templates
templ HomePage(data models.Data) {
@Layout(data.Title) {
@Header(data.Title, data.Subtitle)
@Nav()
<main>
@PostList(data.Posts, data.CurrentPage, data.TotalPages)
</main>
@Footer()
}
}