bongo

package module
v0.0.0-...-4777daa Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2015 License: MIT Imports: 13 Imported by: 0

README

bongo

Easy minimalist static web publishing

bongo - command line interface

  • rebuild the site
  • create intial project structure

Roadmap:

bongod - daemon

  • web server with CMS. Edit files/folders in '/site'
  • uploade images, basic resize operations
  • one-click publish to S3, rsync+ssh

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(c *string)

Build loops through the content types and proceses them

func Help

func Help()

func Index

func Index(pages map[string]Page)

Index builds the site index/home page

func Server

func Server(p string)

Types

type Page

type Page struct {
	Slug    string // eg. my-page
	Title   string // My page!
	Layout  string // @TODO
	Content template.HTML
	Excerpt template.HTML //the excerpt of the content to show on the index page
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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