Documentation ¶
Overview ¶
blorg is a very minimal and broken static site generator. Don't use this. I initially wrote go-org to use Org mode in hugo and non crazy people should keep using hugo. I just like the idea of not having dependencies / following 80/20 rule. And blorg gives me what I need for a blog in a fraction of the LOC (hugo is a whooping 80k+ excluding dependencies - this will very likely stay <5k).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig string
View Source
var DefaultConfigFile = "blorg.org"
View Source
var TemplateFuncs = map[string]interface{}{
"Slugify": slugify,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConfigFile string ContentDir string PublicDir string Address string BaseUrl string Template *template.Template OrgConfig *org.Configuration }
func ReadConfig ¶
func (*Config) RenderContent ¶
func (*Config) RenderList ¶
func (*Config) RenderLists ¶
Click to show internal directories.
Click to hide internal directories.