render

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Render

type Render struct {
	Site config.SiteConfig
	Path string
}

func New

func New(cfg *config.Config) *Render

func (*Render) About

func (r *Render) About(tpl template.Template, path string)

func (*Render) Archive

func (r *Render) Archive(tpl template.Template, articles library.Articles)

func (*Render) Articles

func (r *Render) Articles(tpl template.Template, articles library.Articles)

func (*Render) Index

func (r *Render) Index(tpl template.Template, articles library.Articles)

func (*Render) RSS

func (r *Render) RSS(articles library.Articles)

func (*Render) Tags

func (r *Render) Tags(tpl template.Template, articles library.Articles)

Jump to

Keyboard shortcuts

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