fixed trailing dir slash when using slug

See testcase, dir + slug contained double slash when dir had a trailing
slash.

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
quickstart docs - fix flag needs arg error

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Fix a minor typo in types.md

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Typo fix in docs.

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Create directories in publishdir with mode 0777.

The previous permissions (0764), were unusable (directories must
be executable) when generating files for use by another uid. The
Right Thing™ is to use mode 0777. The OS will subtract the process
umask (usually 022) to the for the final permissions.

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Reorganize helpers
Adding Pygments helper
Adding (source code) Highlight template helper
adding support for shortcodes with opening and closing tags
render shortcodes prior to converting to html
better handling of detecting markup format
Moving processing short codes to the page
Add Contribution Guidelines

Fixes #122
Add go fmt to contribution guidelines

Also fixed up formatting.
Adding example short codes to the documentation
Adding selected tweets to the homepage
Adding community section to the documentation
Adding better contribution guidelines from the read me to the contribution page.
properly use non-localhost BaseUrl in server command
Gofmt

Command: `gofmt -l -s -w .`