page

package
v0.0.0-...-994f862 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigReady

func ConfigReady()

Types

type Page

type Page struct {
	Headers []header
	Content string
	Lang    string
}

func (*Page) AddCSS

func (page *Page) AddCSS(path string)

func (*Page) AddJS

func (page *Page) AddJS(path string)

func (*Page) AddTitle

func (page *Page) AddTitle(page_title string)

func (Page) GetHeaders

func (page Page) GetHeaders() []header

func (*Page) Prepend

func (page *Page) Prepend(content string)

func (*Page) SetContent

func (page *Page) SetContent(content string)

Jump to

Keyboard shortcuts

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