Ok, avec titre pour chacun

This commit is contained in:
Laurent Ulrich
2025-07-31 17:06:30 +02:00
parent 67700bcb42
commit 8877efaeca
7 changed files with 106 additions and 70 deletions

18
blog.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import "html/template"
type Post struct {
Id string
Title string
Author string
Date string
HTML template.HTML
Text string
}
type Blog struct {
Title string
Lang string
Posts []Post
}