view

package
v0.0.0-...-96288a7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotFound

func NotFound(ctx *hime.Context) error

NotFound renders not found page

Types

type PageData

type PageData struct {
	Meta PageMeta
	Data map[string]interface{}
}

PageData type

func Page

func Page(ctx context.Context) *PageData

Page creates new page data

type PageMeta

type PageMeta struct {
	Title string
	Desc  string
	Image string
	URL   string
}

PageMeta type

Jump to

Keyboard shortcuts

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