pages

package
v0.0.0-...-c018a50 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchCreateHTMLFromTemplate

func BatchCreateHTMLFromTemplate(files []string, tmplDir string)

BatchCreateHTMLFromTemplate runs through files array iteratively and createsHTMLfromtemplate or HTML from MD

func CreateHTMLFromTemplate

func CreateHTMLFromTemplate(file string, tmplDir string)

CreateHTMLFromTemplate takes a path string of a text file along with the path of a template dir and creates a new HTML post from it

Types

type Entry

type Entry struct {
	Title string
	Body  string
}

Entry is blog post struct

Jump to

Keyboard shortcuts

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