Added options to configure the site
This commit is contained in:
parent
552b016719
commit
64e19d8700
7 changed files with 118 additions and 17 deletions
|
|
@ -7,7 +7,11 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
if err := progdoc.Site().Publish(); err != nil {
|
||||
if err := progdoc.Site(
|
||||
progdoc.Meta(progdoc.SiteMeta{Title: "Prog Doc"}),
|
||||
progdoc.SourceFile("/", "README.md"),
|
||||
progdoc.SourceDir("/", "_site"),
|
||||
).Publish(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue