spf13
9ecf58e29b
new menus system including active link & nesting
2014-04-23 02:59:19 -04:00
spf13
bd022534bc
Adding Params to node for easy template access of page.params without throwing errors.
2014-04-08 21:40:38 -04:00
Tibor Vass
6dd2e9a49a
gofmt all go code
2014-01-29 18:03:35 -05:00
spf13
f0634ec059
fixed #171 . RSSlink is now RSSLink (and matches existing docs).
...
Added backwards compatibility accessor for existing templates.
2014-01-18 22:16:19 -05:00
spf13
f5fda80486
simplified buildSite & better error handling around it
2013-10-09 19:14:26 -04:00
Noah Campbell
9500ec1b6b
Refactor layout selection code
...
The render code path would use a fallback if there was an exception.
This change instead relies on explicit declaration of the layout to use
and includes a check to see if the layout indeed exists before
attempting to render it.
2013-10-08 18:44:15 +02:00
Noah Campbell
52e8c7a0ac
Section is determined by the source, not the url
...
This change allows for top level html content to exists.
2013-09-20 17:03:43 -07:00
Noah Campbell
79d9f82e79
Code reorg, helpers.go has been decomposed.
...
It started with wanting to move templates in template bundles and the
rest followed. I did my best to start grouping related functions
together, but there are some that I missed. There is also the method
Urlize that seems to be a special function used in both worlds. I'll
need to revisit this method.
2013-09-03 16:16:07 -07:00
Noah Campbell
3ecc698f5e
Remove hugolib.HTML and hugolib.URL types
...
These types were not be rendered correctly by the html/template package.
Removing them gets the correct behavior.
Fixes #74
2013-09-03 12:43:56 -07:00
Fabrizio (Misto) Milo
ee5865f239
Abstract html/template dependency
...
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
2013-09-01 19:51:27 -07:00
Noah Campbell
599e6672f7
Removing GetSection
...
Using GetXXX is not idiomatic to Go. Also added a bunch of unit testing
around this method.
2013-08-23 14:14:54 -07:00
spf13
480e01eb15
Further work on path/section stuff. Tests passing now.
2013-08-14 08:57:14 -04:00
spf13
b4bcc591e4
Now support for nested paths. Better section detection.
2013-08-13 19:39:24 -04:00
spf13
6e16449e5f
adding hugo
2013-07-04 11:32:55 -04:00