partials

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package partials provides functionality for loading and managing HTML partials.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partials

type Partials struct {
	*template.Template
}

Partials holds the parsed partial templates.

func LoadPartials

func LoadPartials() (*Partials, error)

LoadPartials walks the "partials" directory and parses all the files as templates.

func (*Partials) Clone

func (p *Partials) Clone() (*Partials, error)

Clone creates a deep copy of the Partials templates.

Jump to

Keyboard shortcuts

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