Documentation
¶
Index ¶
- type Hugo
- func (h Hugo) Hook(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (h Hugo) Name() string
- func (h *Hugo) Preview(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (h Hugo) Publish(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (h Hugo) SettingsPath() string
- func (h *Hugo) Setup() error
- type Jekyll
- func (j Jekyll) Hook(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (j Jekyll) Name() string
- func (j *Jekyll) Preview(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (j Jekyll) Publish(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error)
- func (j Jekyll) SettingsPath() string
- func (j *Jekyll) Setup() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hugo ¶
type Hugo struct {
// Website root
Root string `name:"Website Root"`
// Public folder
Public string `name:"Public Directory"`
// Hugo executable path
Exe string `name:"Hugo Executable"`
// Hugo arguments
Args []string `name:"Hugo Arguments"`
// Indicates if we should clean public before a new publish.
CleanPublic bool `name:"Clean Public"`
// contains filtered or unexported fields
}
Hugo is the Hugo static website generator.
func (Hugo) SettingsPath ¶
SettingsPath retrieves the correct settings path.
type Jekyll ¶
type Jekyll struct {
// Website root
Root string `name:"Website Root"`
// Public folder
Public string `name:"Public Directory"`
// Jekyll executable path
Exe string `name:"Executable"`
// Jekyll arguments
Args []string `name:"Arguments"`
// Indicates if we should clean public before a new publish.
CleanPublic bool `name:"Clean Public"`
// contains filtered or unexported fields
}
Jekyll is the Jekyll static website generator.
func (Jekyll) SettingsPath ¶
SettingsPath retrieves the correct settings path.
Click to show internal directories.
Click to hide internal directories.