blog

package module
v0.0.0-...-00fd68a Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 14 Imported by: 0

README

blog

PkgGoDev

Yet another minimal, static blog generator in golang.

Status

Under development.

License

MIT licensed. See the LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitExamples

func InitExamples(templates, content string) error

func LoadTemplates

func LoadTemplates(dir string, files ...string) (map[string]*template.Template, error)

Types

type Content

type Content struct {
	// contains filtered or unexported fields
}

func LoadContent

func LoadContent(dir string) (*Content, error)

func (*Content) WriteIndexes

func (c *Content) WriteIndexes(dst string, tmpl *template.Template) error

func (*Content) WritePages

func (c *Content) WritePages(dst string, tmpl *template.Template) error

func (*Content) WriteStatic

func (c *Content) WriteStatic(dst string) error

func (*Content) WriteTags

func (c *Content) WriteTags(dst string, tmpl *template.Template) error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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