pages

package
v0.0.0-...-5a527e5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDate

func ParseDate(datestring string, location *time.Location) (time.Time, error)

ParseDate parses a blog post's date.

func ReadPage

func ReadPage(filename, root string, location *time.Location) (site.Page, error)

ReadPage reads a page from the filesystem, using the passed root directory to determine where the page is in relation to the web server root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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