blog

package
v0.0.0-...-8f9ce2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(l *goapp.Lifecycle, conf *config.Config)

func GetEmbedFS

func GetEmbedFS() embed.FS

Types

type Post

type Post struct {
	Title           string         `json:"title"`
	SubTitle        string         `json:"sub_title"`
	Content         string         `json:"content"`
	PublicationDate time.Time      `json:"publication_date"`
	Tags            []string       `json:"tags"`
	MainImage       base.Reference `json:"main_image"`
}

type PostHandler

type PostHandler struct {
}

func (*PostHandler) GetMetadata

func (h *PostHandler) GetMetadata() *base.HandlerMetadata

func (*PostHandler) GetStruct

func (h *PostHandler) GetStruct() (base.NodeData, base.NodeMeta)

type PostMeta

type PostMeta struct {
	Format string `json:"format"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL