templates

package
v1.8.1-0...-100120b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 4 Imported by: 0

README

Templates

Creating templates is a straightforward process, even for those unfamiliar with Go Template. Here are a few things to keep in mind:

  • The template should be a single page, without additional css or js files. However, you can load them from a CDN or other GitHub repositories using jsdelivr.com
  • Be sure to include the <meta name="robots" content="nofollow,noarchive,noindex"> tag in the header
  • You can use special "placeholders" (wrapped in {{ and }}) for the rendering error code, message, and other details

Built-in "placeholders" and functions with their examples can be found in the following files:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIn

func BuiltIn() map[string]string

BuiltIn returns a map of built-in templates. The key is the template name and the value is the template content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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