themes

package
v0.0.0-...-bd6ff0a Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2016 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pack

func Pack(repository *github.Repository, themePath, fullURL, landing string) (string, error)

Types

type Owner

type Owner struct {
	URL       string
	Name      string
	AvatarURL string
}

type Repo

type Repo struct {
	Name        string
	Login       string
	Description string
	URL         string
}

type Site

type Site struct {
	Title       string
	Description string
	Content     template.HTML
	Analytics   string
	BaseURL     string
	Repo        Repo
	Owner       Owner
}

type Theme

type Theme struct {
	Path string
}

func AllFromDisk

func AllFromDisk() ([]Theme, error)

func (Theme) JSONFile

func (t Theme) JSONFile() (io.Reader, error)

Jump to

Keyboard shortcuts

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