page

package
v0.0.0-...-f5d2eb2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 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
	Explanation_link_text string
	Long_explanation      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)

func (*Page) SetExplanation

func (page *Page) SetExplanation(link, text string)

Jump to

Keyboard shortcuts

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