Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForConfig

func CheckForConfig(projectPath string) error

    Assert that a valid hugo toml file exists at the specifed project path

    func GetThemes

    func GetThemes() []theme

    func SetRandomTheme

    func SetRandomTheme(projectPath string) error

    func SetTheme

    func SetTheme(themeName string, projectPath string) error

      Given a valid hugo theme name and the path to a hugo project apply the given theme to the project

      Types

      type MissingConfigError

      type MissingConfigError string

      func (MissingConfigError) Error

      func (e MissingConfigError) Error() string

      type UnknownNameError

      type UnknownNameError string

      func (UnknownNameError) Error

      func (e UnknownNameError) Error() string

      Source Files