views

package
v0.0.0-...-a974e34 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.543

templ: version: v0.2.543

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorPage

func ErrorPage(code int, message string) templ.Component

func Layout

func Layout(h Head) templ.Component

Types

type Head struct {
	Title       string // Title represents the title of the page.
	Description string // Description represents the description of the page.
}

Head represents the head section of the layout template.

Jump to

Keyboard shortcuts

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