a6022293af
Minor proofreading corrections to Hugo docs
2014-09-01 08:19:40 -04:00
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
13a317b975
Enable header id blackfriday extension
2014-08-30 14:12:53 -04:00
c1b9e8d54b
quickstart.md: Put long options inside backticks
...
Also minor adjustment to blank lines.
2014-08-30 01:16:18 -04:00
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
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
93addfcbee
Adding documentation about 'where' and cleaning up docs around first.
2014-08-30 00:57:38 -04:00
0ce4ec1edb
Added more examples and cleaned up the GroupBy functionality documentation
2014-08-30 00:21:47 -04:00
7e19fa40e7
Making direction optional (and setting defaults) for GroupBy Pages functionality.
2014-08-29 23:51:29 -04:00
b15eb889e8
Adding .Reverse() to PagesGroup
2014-08-29 23:50:25 -04:00
41b28462e8
Switch .Data to .Pages in the PageGroup functionality for increased consistency.
2014-08-29 23:48:24 -04:00
70dc370c08
Making the term "Term" more consistent with Taxonomy usage.
2014-08-29 23:44:39 -04:00
01caaeba7a
Making the Pages Sorting methods available within a taxonomy term.
2014-08-29 23:43:38 -04:00
bb02a14b1e
Adding a page listing the different methods available to Taxonomies.
2014-08-29 23:42:26 -04:00
ba8f652acc
More taxonomy examples in templates.
2014-08-29 23:41:53 -04:00
6f9f93f34b
Fixing the taxonomy example. Fixed #318 .
2014-08-29 23:39:55 -04:00
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
7de320920c
Shortcodes are content files specific.
...
This fixes spf13/hugo#440 .
2014-08-28 12:59:52 -04:00
6f9db4a784
Add document about page grouping functions
2014-08-28 12:56:32 -04:00
53b7d5b8a1
Inner Shortcodes now treated as markdown. fixed #185
2014-08-28 12:48:31 -04:00
828401cbe6
More press additions
2014-08-27 11:47:12 -04:00
4b71eb16e1
Compressed showcase thumbnails further
2014-08-26 14:37:34 -04:00
954498803d
Added ucsb to showcase
2014-08-26 14:37:12 -04:00
dcda66dfab
More Press
2014-08-26 14:36:38 -04:00
4a91b8c7fd
fixed #389 . Added alias for missing page.
2014-08-26 13:16:45 -04:00
987a82d043
small tweaks to the hover effect
2014-08-26 12:30:28 -04:00
8a44deac0f
Creating a showcase archetype to make for easier showcase additions
2014-08-26 12:27:43 -04:00
1c1615d794
Adding a bunch of new sites to the showcase
2014-08-26 12:27:25 -04:00
c9a6b2b93c
Adding a bunch of new press to the Press page.
2014-08-26 12:26:29 -04:00
733bff9035
Prettier link hover state
2014-08-25 15:52:43 -04:00
1143a8fa49
Bumping Travis to test Go 1.2 & tip (1.3)
2014-08-25 15:18:53 -04:00
294222ac74
Fixing a broken link in the docs
2014-08-25 14:02:39 -04:00
4281cbfa34
LiveReloadDisabled works with Watching properly. Fixed #335 .
2014-08-25 13:49:53 -04:00
1b5f59b071
go fmt site.go
2014-08-25 13:13:11 -04:00
30af267b32
Fix #302 . Links now have trailing slashes.
2014-08-25 12:45:47 -04:00
a31edb3388
Support subdir in baseurl.
...
Mainly this was a change to helpers.MakePermalink, but to get the local server to run correctly,
we needed to redirect the path of the request from /foo to /. In addition, I added tests for the
server's code for fixing up the base url with different config file & CLI options.
2014-08-25 11:51:51 -04:00
4b979b17cc
added functionality to check the error message returned from Cobra, if any. for uage message text. If its present, the usage message gets truncated and the resulting message is returned to be used for the rest of the error message. If the resulting error is blank, no error message is printed
2014-08-25 11:50:23 -04:00
4c735a7878
preserve alias case while lowercasing taxonomy
2014-08-25 10:16:59 -04:00
348e123c9f
Update 404 to be compiled to .html instead of directory
2014-08-25 09:38:08 -04:00
50a8c50726
Add page grouping functions
2014-08-25 09:18:52 -04:00
867683e473
Add link for learning more about static directory
2014-08-20 14:23:17 -04:00
c750a95e22
support for futre/draft summary info output
2014-08-20 14:21:15 -04:00
946ad9c2c3
Making the links stand out more
2014-08-20 14:19:15 -04:00
f5157566ef
Cleaning up a ton of CSS.. Removing unused selectors. Eliminated over 80% of CSS. Upgrading jQuery & FA
2014-08-20 14:10:36 -04:00
34a93fa1f3
Fixing the docs sidebar interactions
2014-08-20 13:13:51 -04:00
04d412ed16
Fixed showcase image paths
2014-08-20 11:17:38 -04:00
cece27fa2e
fix issue 411, /path/to/site/archetypes : is a directory error
2014-08-19 22:30:21 -04:00
e31d460909
Bringing back the showcase
2014-08-19 21:47:38 -04:00
b047e2f880
Removing redundant bootstrap
2014-08-19 21:46:27 -04:00
864f91d90e
Changing the docs template partials to be able to be used to render a section
2014-08-19 21:28:37 -04:00