hugo/hugolib
Niels Widger f62e3e9940 Add new TableOfContents Page variable (Markdown only)
Added TableOfContents field to hugolib.Page struct.  New function
getTableOfContents is used in convertMarkdown to set the TableOfContents
field.

Added new test file hugolib/page_toc_test.go with a simple test of the
new functionality.

Conflicts:
	hugolib/page.go
2014-01-23 17:27:08 -05:00
..
benchmark_test.go Remove page module dependence on opening files 2013-09-04 19:36:06 -07:00
config.go Add canonifyurls config option. 2014-01-13 10:06:12 -05:00
index.go Complete refactor of indexes, move (and rewrite) page sorting to page.go, add tests 2013-12-20 09:10:05 -05:00
indexing_test.go Fixing test which erroneously checked values and order, rather than just values. 2014-01-18 21:26:34 -05:00
metadata.go Adding support for date field in front matter as date (as TOML provides) 2013-10-24 15:18:57 -07:00
node.go fixed #171. RSSlink is now RSSLink (and matches existing docs). 2014-01-18 22:16:19 -05:00
page.go Add new TableOfContents Page variable (Markdown only) 2014-01-23 17:27:08 -05:00
page_index_test.go Big index overhaul. Now supporting ordering tokens by count or alphabetically. Also made full indexes available to the Site variable. 2013-10-25 18:40:55 -04:00
page_permalink_test.go fixed trailing dir slash when using slug 2013-11-20 15:32:22 -08:00
page_test.go renaming MinRead to ReadingTime and adding to documentation. 2014-01-21 20:08:24 -05:00
page_time_integration_test.go Adding support for date field in front matter as date (as TOML provides) 2013-10-24 15:18:57 -07:00
page_toc_test.go Add new TableOfContents Page variable (Markdown only) 2014-01-23 17:27:08 -05:00
path.go Code reorg, helpers.go has been decomposed. 2013-09-03 16:16:07 -07:00
path_seperators_test.go Refactor layout selection code 2013-10-08 18:44:15 +02:00
permalinks.go Reorganize helpers 2013-12-05 09:29:41 -05:00
permalinks_test.go configurable permalinks support 2013-11-18 13:32:56 -08:00
planner.go Refactor layout selection code 2013-10-08 18:44:15 +02:00
redis.cn.md Adding benchmark for parsing pages using unicode. 2013-08-09 17:36:32 -07:00
rss_test.go Gofmt 2013-12-16 17:40:10 -05:00
shortcode.go Adding some embedded short codes (including code highlighting) 2014-01-10 21:27:32 -05:00
site.go fixed #171. RSSlink is now RSSLink (and matches existing docs). 2014-01-18 22:16:19 -05:00
site_show_plan_test.go Section is determined by the source, not the url 2013-09-20 17:03:43 -07:00
site_test.go Add canonifyurls config option. 2014-01-13 10:06:12 -05:00
site_url_test.go Remove the hugo-nav function 2013-11-05 22:28:06 +00:00
siteinfo_test.go Gofmt 2013-12-16 17:40:10 -05:00
summary.go Code reorg, helpers.go has been decomposed. 2013-09-03 16:16:07 -07:00