14384 Commits

Author SHA1 Message Date
Anthony Fok
a6022293af Minor proofreading corrections to Hugo docs 2014-09-01 08:19:40 -04:00
Dato Simó
1bc38e9361 Use typographic quote chars in the carousel quotes section
At big font sizes, quotes really become more beautiful with them.
2014-08-30 23:19:22 -04:00
Dato Simó
f142458c4b Use typographic quote chars in the carousel quotes section
At big font sizes, quotes really become more beautiful with them.
2014-08-30 23:19:22 -04:00
Dave Johnston
13a317b975 Enable header id blackfriday extension 2014-08-30 14:12:53 -04:00
Anthony Fok
770b1f68e3 quickstart.md: Put long options inside backticks
Also minor adjustment to blank lines.
2014-08-30 01:16:18 -04:00
Anthony Fok
c1b9e8d54b quickstart.md: Put long options inside backticks
Also minor adjustment to blank lines.
2014-08-30 01:16:18 -04:00
spf13
242d6b4e6b Adjusting the number of go routines to build the pages in to 4*GOMAXPROCS (from 2) for faster rendering. 2014-08-30 01:15:20 -04:00
Nate Finch
47c91a4ca2 Fix CreatePages
This fixes #450.  There are two problems:

1.) We're creating a new goroutine for every page.
2.) We're calling s.Pages = append(s.Pages, page) inside each goroutine.

1 is a problem if in that if you have a ton of pages, that's a ton of goroutines.  It's not really useful to have more than a few goroutines at a time, and lots can actually make your code much slower, and, evidently, crash.

2 is a problem in that append is not thread safe. Sometimes it returns a new slice with a larger capacity, when the original slice isn't large enough.  This can cause problems if two goroutines do this at the same time.

The solution for 1 is to use a limited number of workers (I chose 2*GOMAXPROCS as a nice guess).
The solution for 2 is to serialize access to s.Pages, which I did by doing it in a single goroutine.
2014-08-30 01:02:35 -04:00
spf13
6d15050341 Adding documentation about 'where' and cleaning up docs around first. 2014-08-30 00:57:38 -04:00
spf13
93addfcbee Adding documentation about 'where' and cleaning up docs around first. 2014-08-30 00:57:38 -04:00
spf13
bb4d67345d Added more examples and cleaned up the GroupBy functionality documentation 2014-08-30 00:21:47 -04:00
spf13
0ce4ec1edb Added more examples and cleaned up the GroupBy functionality documentation 2014-08-30 00:21:47 -04:00
spf13
7e19fa40e7 Making direction optional (and setting defaults) for GroupBy Pages functionality. 2014-08-29 23:51:29 -04:00
spf13
b15eb889e8 Adding .Reverse() to PagesGroup 2014-08-29 23:50:25 -04:00
spf13
41b28462e8 Switch .Data to .Pages in the PageGroup functionality for increased consistency. 2014-08-29 23:48:24 -04:00
spf13
70dc370c08 Making the term "Term" more consistent with Taxonomy usage. 2014-08-29 23:44:39 -04:00
spf13
01caaeba7a Making the Pages Sorting methods available within a taxonomy term. 2014-08-29 23:43:38 -04:00
spf13
925390ca6f Adding a page listing the different methods available to Taxonomies. 2014-08-29 23:42:26 -04:00
spf13
bb02a14b1e Adding a page listing the different methods available to Taxonomies. 2014-08-29 23:42:26 -04:00
spf13
b0653ac4e1 More taxonomy examples in templates. 2014-08-29 23:41:53 -04:00
spf13
ba8f652acc More taxonomy examples in templates. 2014-08-29 23:41:53 -04:00
spf13
f22a1127f3 Fixing the taxonomy example. Fixed #318. 2014-08-29 23:39:55 -04:00
spf13
6f9f93f34b Fixing the taxonomy example. Fixed #318. 2014-08-29 23:39:55 -04:00
Jakub Turski
e9150d0032 Be more specific about .Params content
I'm not sure whether this is *always* the case, but it's definitely have been my experience so far. :)
2014-08-28 13:04:00 -04:00
Jakub Turski
d3646aaac0 Be more specific about .Params content
I'm not sure whether this is *always* the case, but it's definitely have been my experience so far. :)
2014-08-28 13:04:00 -04:00
Jakub Turski
e1ca9c7649 Shortcodes are content files specific.
This fixes spf13/hugo#440.
2014-08-28 12:59:52 -04:00
Jakub Turski
7de320920c Shortcodes are content files specific.
This fixes spf13/hugo#440.
2014-08-28 12:59:52 -04:00
Tatsushi Demachi
abee890ca0 Add document about page grouping functions 2014-08-28 12:56:32 -04:00
Tatsushi Demachi
6f9db4a784 Add document about page grouping functions 2014-08-28 12:56:32 -04:00
spf13
53b7d5b8a1 Inner Shortcodes now treated as markdown. fixed #185 2014-08-28 12:48:31 -04:00
spf13
8b9fc6f480 More press additions 2014-08-27 11:47:12 -04:00
spf13
828401cbe6 More press additions 2014-08-27 11:47:12 -04:00
spf13
814f25a9b2 Compressed showcase thumbnails further 2014-08-26 14:37:34 -04:00
spf13
4b71eb16e1 Compressed showcase thumbnails further 2014-08-26 14:37:34 -04:00
spf13
d3f95f06e5 Added ucsb to showcase 2014-08-26 14:37:12 -04:00
spf13
954498803d Added ucsb to showcase 2014-08-26 14:37:12 -04:00
spf13
7a190e5051 More Press 2014-08-26 14:36:38 -04:00
spf13
dcda66dfab More Press 2014-08-26 14:36:38 -04:00
spf13
795410e18b fixed #389 . Added alias for missing page. 2014-08-26 13:16:45 -04:00
spf13
4a91b8c7fd fixed #389 . Added alias for missing page. 2014-08-26 13:16:45 -04:00
spf13
4468f79233 small tweaks to the hover effect 2014-08-26 12:30:28 -04:00
spf13
987a82d043 small tweaks to the hover effect 2014-08-26 12:30:28 -04:00
spf13
88f3533d79 Creating a showcase archetype to make for easier showcase additions 2014-08-26 12:27:43 -04:00
spf13
8a44deac0f Creating a showcase archetype to make for easier showcase additions 2014-08-26 12:27:43 -04:00
spf13
3eac82b168 Adding a bunch of new sites to the showcase 2014-08-26 12:27:25 -04:00
spf13
1c1615d794 Adding a bunch of new sites to the showcase 2014-08-26 12:27:25 -04:00
spf13
fb3a9bc169 Adding a bunch of new press to the Press page. 2014-08-26 12:26:29 -04:00
spf13
c9a6b2b93c Adding a bunch of new press to the Press page. 2014-08-26 12:26:29 -04:00
spf13
a1b83fa4a8 Prettier link hover state 2014-08-25 15:52:43 -04:00
spf13
733bff9035 Prettier link hover state 2014-08-25 15:52:43 -04:00