Russell Oliver
81e69c416d
Add ReadDir function to list local files.
...
Includes documentation.
2015-07-25 21:56:38 +02:00
Scott C Wilson
72ecd0cdc7
Ignore non-presence of "layouts" directory in watch logic
...
Fixes #691
2015-07-25 21:50:24 +02:00
Ryan Clarke
18d69d7f8c
Fix periods in taxonomies create bad paths
...
Fixes #1188
2015-07-25 21:43:20 +02:00
Bjørn Erik Pedersen
c1a2b7a102
Replace strings.Compare
...
Which is a Go 1.5 func.
See #1299
2015-07-25 17:38:13 +02:00
Bjørn Erik Pedersen
40efc8677a
Fix sort test and title sort
...
See #1299
2015-07-25 17:22:46 +02:00
Bjørn Erik Pedersen
36e0d005ed
Fall back to link title for default page sort
...
Fixes #1299
2015-07-25 16:34:35 +02:00
Sam Debruyn
62a84b9a60
The guide is updated to fit the current Wercker interface and configurations.
...
Wercker changed its interface and default infrastructure (Docker).
2015-07-24 14:35:39 +02:00
Sam Debruyn
6674189bc2
The guide is updated to fit the current Wercker interface and configurations.
...
Wercker changed its interface and default infrastructure (Docker).
2015-07-24 14:35:39 +02:00
Bjørn Erik Pedersen
da0715a0c5
Remove point 7 in contributors guide
...
It makes sense on its own, but it contradicts 6). We need to revisit this one to make it more clear/better.
2015-07-24 11:41:45 +02:00
Scott C Wilson
d25cd03994
Make small fixes to README file
...
- Add a step to Contributor instructions for those modifying commands
- Change forum link to http (https does not work)
- Add "Sign the forum release thread" to contributor instructions
2015-07-24 11:35:20 +02:00
Bjørn Erik Pedersen
ec0dff756d
docs: fix prev in highlightling
2015-07-24 11:31:26 +02:00
Bjørn Erik Pedersen
027abcfbb9
docs: fix prev in highlightling
2015-07-24 11:31:26 +02:00
Szymon Katra
d47e392253
Added szymonkatra.github.io site to showcase
2015-07-24 11:26:24 +02:00
Szymon Katra
9c8ce0d935
Added szymonkatra.github.io site to showcase
2015-07-24 11:26:24 +02:00
Scott C Wilson
98bea23295
Fix links to Ace and Amber pages
2015-07-24 11:22:05 +02:00
Scott C Wilson
cdefb5a027
Fix links to Ace and Amber pages
2015-07-24 11:22:05 +02:00
Scott C Wilson
e419e0822c
Add scottcwilson.github.io to showcase site
2015-07-24 11:21:56 +02:00
Scott C Wilson
de38524cd1
Add scottcwilson.github.io to showcase site
2015-07-24 11:21:56 +02:00
Bjørn Erik Pedersen
28020f866b
Move apply before cache put
...
It just looks better.
See #1293
2015-07-24 00:28:21 +02:00
Bjørn Erik Pedersen
aa4a9fb10b
docs: Rename dynamic content to data-driven content
...
Fixes #925
2015-07-23 12:54:58 +02:00
Bjørn Erik Pedersen
47e65c4acd
docs: Rename dynamic content to data-driven content
...
Fixes #925
2015-07-23 12:54:58 +02:00
Bjørn Erik Pedersen
a9c5133a77
Fix data races in sorting and Reverse
...
The custom sort functions used from the templates had some subtle data race- and related issues,
especially when used in the single page template.
This commit fixes this by making copies and protect the read and writes with a RWMutex.
The results are cached (it will typically be invoked *number of pages* times with exactly the same data).
This is, not surprisingly, also faster:
```
benchmark old ns/op new ns/op delta
BenchmarkSortByWeightAndReverse 14228 491 -96.55%
benchmark old allocs new allocs delta
BenchmarkSortByWeightAndReverse 1 0 -100.00%
benchmark old bytes new bytes delta
BenchmarkSortByWeightAndReverse 32 0 -100.00%
```
Fixes #1293
2015-07-23 12:43:57 +02:00
Bjørn Erik Pedersen
ea6ae769dc
Fix broken test
2015-07-21 21:12:03 +02:00
Bjørn Erik Pedersen
5cf0aa2fc0
Add benchmark for sort and reverse
2015-07-21 21:08:20 +02:00
Bjørn Erik Pedersen
aca0f60448
source/File: Fix data races
2015-07-21 20:02:42 +02:00
Scott C Wilson
6de15c760d
Document Amber templates
...
Fixes #1064
2015-07-20 15:28:20 +02:00
Scott C Wilson
dec9749bbc
Document Amber templates
...
Fixes #1064
2015-07-20 15:28:20 +02:00
Scott C Wilson
8a48412c44
On error, return error message, not nil
2015-07-20 14:49:21 +02:00
Scott C Wilson
c00a1fcb7f
Add a check for the setting of watch flag in config file
...
Fixes #1074
2015-07-20 14:20:07 +02:00
Tatsushi Demachi
03a7016104
Let Amber template call Hugo's custom functions
...
Amber doesn't share text/template `FuncMap` functions and has its own
function list. This allows Amber to call Hugo's custom functions.
2015-07-20 11:29:15 +02:00
Bjørn Erik Pedersen
e3ea4b48a2
Fix name logic for Amber templates
2015-07-19 20:12:05 +02:00
Christopher Eliot
24c3b406d8
Fix link to front matter
...
added leading backslash, changing [front matter](content/front-matter) to [front matter](/content/front-matter)
2015-07-19 19:41:20 +02:00
Christopher Eliot
7f1bcd89b2
Fix link to front matter
...
added leading backslash, changing [front matter](content/front-matter) to [front matter](/content/front-matter)
2015-07-19 19:41:20 +02:00
Clam-
cca6701928
Fix unclear RSS template docs
...
The documentation for the RSS templating is a little unclear.
http://gohugo.io/templates/rss/
Some users may attempt to look for a ```__internal``` directory rather than assume that's the aforementioned "Hugo own template."
Here's my suggestion.
2015-07-19 19:40:34 +02:00
Clam-
85f4935dec
Fix unclear RSS template docs
...
The documentation for the RSS templating is a little unclear.
http://gohugo.io/templates/rss/
Some users may attempt to look for a ```__internal``` directory rather than assume that's the aforementioned "Hugo own template."
Here's my suggestion.
2015-07-19 19:40:34 +02:00
digitalcraftsman
35d68b9226
Add mention about .Hugo.Generator in 'Creating a theme' section
2015-07-19 19:39:32 +02:00
digitalcraftsman
bfcf95b9de
Add mention about .Hugo.Generator in 'Creating a theme' section
2015-07-19 19:39:32 +02:00
Edward Vielmetti
c8477c4f6e
Fix typo: "taxononomy" -> "taxonomy"
2015-07-19 19:36:23 +02:00
Bjørn Erik Pedersen
33ffda7225
Add paginator support for page groups
...
Fixed #1274
2015-07-18 14:53:52 +02:00
Bjørn Erik Pedersen
1a94148d06
Add paginator support for page groups
...
Fixed #1274
2015-07-18 14:53:52 +02:00
Valere JEANTET
2c22a8b79a
fix TestHomeNodeMenu test
...
Signed-off-by: Valere JEANTET <valere.jeantet@gmail.com >
2015-07-14 21:31:47 +02:00
Valere JEANTET
247574976c
Allow page.HasMenuCurrent() and node.HasMenuCurrent() to proceed with multi-level nested menus
...
Currently HasMenuCurrent only process the first 2 levels.
2015-07-14 21:31:47 +02:00
Bjørn Erik Pedersen
354192d2b8
Log missing theme as FATAL
...
See #1234
2015-07-13 10:38:28 +02:00
Scott C Wilson
029cdb68f5
Checks to ensure theme directory, if specified, exists
...
See #1234
2015-07-13 10:31:59 +02:00
Bjørn Erik Pedersen
a2fa3895ee
Fix log message in test
2015-07-12 19:27:29 +02:00
Bjørn Erik Pedersen
3663828f5e
Optimize RuneCount
...
Do not create it unless used.
See #1266
2015-07-12 11:28:19 +02:00
Bjørn Erik Pedersen
29b4440505
Add RuneCount to Page
...
Fixes #1266
2015-07-12 11:05:37 +02:00
Bjørn Erik Pedersen
77c60a3440
Add RuneCount to Page
...
Fixes #1266
2015-07-12 11:05:37 +02:00
Éli Marshal
c8e3ffc875
Omit protocol from embedded font resources
...
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
2015-07-11 01:10:45 +02:00
Éli Marshal
90af334c21
Omit protocol from embedded font resources
...
Fixes the mixed content errors and loads fonts when accessing
https://gohugo.io/
2015-07-11 01:10:45 +02:00