partial.go
package models
import "github.com/readysite/readysite/pkg/database"
// Partial represents a reusable HTML component/snippet.
// Partials can be included in pages using the {{partial "name"}} template function.
// ID can be set to a URL-friendly slug before insert (e.g., "header", "footer", "nav").
type Partial struct {
database.Model
Name string // Display name
Description string // Description for AI context
HTML string // HTML content
Published bool // Whether the partial is available for use
}