meta

package
v0.0.0-...-8a04328 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: GPL-3.0, GPL-3.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPageMetadata

func AddPageMetadata(data Metadata)

AddPageMetadata adds a new metadata object to the list of metadata objects, which are added to every served HTML page

Types

type Metadata

type Metadata struct {
	Name      string
	Content   string
	Charset   string
	HttpEquiv string
}

Metadata is a struct for modeling HTML metadata. (<meta ... />)

func GetPageMetadata

func GetPageMetadata() []Metadata

GetPageMetadata returns all metadata to add to a HTML page

Jump to

Keyboard shortcuts

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