Shortcode cleanup. Added a ton of tests. Much more flexible with input. Doesn't crash...
authorspf13 <steve.francia@gmail.com>
Wed, 26 Feb 2014 04:57:31 +0000 (23:57 -0500)
committerspf13 <steve.francia@gmail.com>
Wed, 26 Feb 2014 04:57:31 +0000 (23:57 -0500)
commit64572d2d60a6bee0cc0b87dcf0a944d88375d964
tree1667692d69fb13d74d9da070db087dc9d006aba9
parentdc068ccb87a1def743280250e2ea41d91e05d37a
Shortcode cleanup. Added a ton of tests. Much more flexible with input. Doesn't crash with bad input. Fixed #193

Also added the .Get function to short codes and documentation for that function.
docs/content/extras/shortcodes.md
hugolib/shortcode.go
hugolib/shortcode_test.go [new file with mode: 0644]
template/bundle/embedded.go
template/bundle/template.go