downloader

package
v0.0.0-...-b9e994f Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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