layouts

package
v0.0.0-...-f484def Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.639

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(opts *BaseLayoutOpts, children ...templ.Component) templ.Component

func BaseBody

func BaseBody(opts *BaseLayoutOpts, children ...templ.Component) templ.Component

func BaseHead

func BaseHead(opts *BaseLayoutOpts) templ.Component

func Boilerplate

func Boilerplate(head templ.Component, children ...templ.Component) templ.Component

Types

type BaseLayoutOpts

type BaseLayoutOpts struct {
	Head         templ.Component
	Title        string
	Description  string
	NoScriptWarn bool
}

Jump to

Keyboard shortcuts

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