helpers

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileIsWhitelisted added in v0.0.9

func FileIsWhitelisted(filename string, whitelist []string) bool

FileIsWhitelisted returns true if the filename is in the whitelisted based on its suffix

func HugoRun

func HugoRun(args []string) error

HugoRun runs Hugo like the command line interface

func IsAsciidoc added in v0.0.9

func IsAsciidoc(filename string) bool

IsAsciidoc returns true if a file is a Asciidoc file

func IsMarkdown added in v0.0.9

func IsMarkdown(filename string) bool

IsMarkdown returns true if a file is a Markdown file

func Trace added in v0.0.12

func Trace()

Trace sets trace mode

Types

This section is empty.

Jump to

Keyboard shortcuts

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