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

22
models/models.go Normal file
View File

@@ -0,0 +1,22 @@
package models
import "time"
type Post struct {
ID string
Title string
Slug string
Excerpt string
Content string
Tags []string
PublishedAt time.Time
WordCount int
}
type Data struct {
Title string
Subtitle string
Posts []Post
CurrentPage int
TotalPages int
}