Marek Janda
afbd52f78e
Apply absURL on social tag urls
2015-11-20 23:36:48 +01:00
Cameron Moore
05c29ad593
Return error if shortcode template.Tree is nil
...
If a shortcode template fails to compile, the template will be non-nil, but
template.Tree will be nil which caused a panic.
2015-11-20 23:34:30 +01:00
Anthony Fok
bf1a84db58
docs: Change "Github" to "GitHub"
2015-11-20 14:24:22 -07:00
Anthony Fok
e59aabcf46
docs: Change "Github" to "GitHub"
2015-11-20 14:24:22 -07:00
Anthony Fok
f8d8b901d9
docs: Optimize a few large showcase thumbnail PNGs
...
using pngquant and OptiPNG. Result:
arresteddevops-tn.png 154734 bytes → 47184 bytes
maximeguitare-tn.png 95571 bytes → 24183 bytes
ridingbytes-tn.png 262222 bytes → 66491 bytes
And a small one to an even smaller one too:
goin5minutes-tn.png 26220 bytes → 9297 bytes
2015-11-20 14:17:02 -07:00
Anthony Fok
a871c87f90
docs: Optimize a few large showcase thumbnail PNGs
...
using pngquant and OptiPNG. Result:
arresteddevops-tn.png 154734 bytes → 47184 bytes
maximeguitare-tn.png 95571 bytes → 24183 bytes
ridingbytes-tn.png 262222 bytes → 66491 bytes
And a small one to an even smaller one too:
goin5minutes-tn.png 26220 bytes → 9297 bytes
2015-11-20 14:17:02 -07:00
digitalcraftsman
9dd9ba24ff
Add Go in 5 minutes to the showcases
2015-11-20 13:49:27 -07:00
digitalcraftsman
2e1d2ba018
Add Go in 5 minutes to the showcases
2015-11-20 13:49:27 -07:00
digitalcraftsman
79a9c20c1a
Docs: fix typo in template function section
2015-11-20 13:30:27 -07:00
digitalcraftsman
a5bd101d27
Docs: fix typo in template function section
2015-11-20 13:30:27 -07:00
Cameron Moore
9a20243226
Add SafeJS template function
...
This commit adds a SafeJS template function. Tests and documentation are
included.
Fixes #1579
2015-11-20 21:12:01 +01:00
Cameron Moore
c5a4c07b89
Add SafeJS template function
...
This commit adds a SafeJS template function. Tests and documentation are
included.
Fixes #1579
2015-11-20 21:12:01 +01:00
Bjørn Erik Pedersen
4d2d881d0d
Add increased time.Time support to the 0.15 release notes
2015-11-20 19:18:38 +01:00
Bjørn Erik Pedersen
7c9a2dfee2
Add increased time.Time support to the 0.15 release notes
2015-11-20 19:18:38 +01:00
Bjørn Erik Pedersen
f6ba48f2d0
Update Travis 1.4.2 > 1.4.3
2015-11-20 19:16:13 +01:00
Steve Francia
35b61167b2
fix broken image in showcase
2015-11-20 10:26:21 -05:00
Steve Francia
f99730e84e
fix broken image in showcase
2015-11-20 10:26:21 -05:00
kmonsoor
83f19d8d87
fixed documentation link
2015-11-20 10:20:40 -05:00
Matt Stratton
fc3f262be1
Add Arrested DevOps site to Showcase
2015-11-20 10:16:04 -05:00
Matt Stratton
923e455731
Add Arrested DevOps site to Showcase
2015-11-20 10:16:04 -05:00
Steve Francia
afaa927ea7
Hugo server watch by default
2015-11-20 10:14:24 -05:00
Steve Francia
97d0689580
Hugo server watch by default
2015-11-20 10:14:24 -05:00
Bjørn Erik Pedersen
35abd179e2
Add time.Time support in ge, gt, le, lt
...
Fixes #1593
2015-11-20 11:53:25 +01:00
Bjørn Erik Pedersen
8d8fa7222f
Remove some superficial tests
2015-11-19 20:27:02 +01:00
Bjørn Erik Pedersen
3f5ddd5242
Revert "Disable render-to-memory on Windows"
...
This reverts commit 91e0c2b1fe .
This should now work.
2015-11-19 19:48:40 +01:00
Bjørn Erik Pedersen
91e0c2b1fe
Disable render-to-memory on Windows
...
See #1586
2015-11-18 23:10:56 +01:00
Bjørn Erik Pedersen
4679fbee41
Do not rebuild on extra Spotlight filesystem events
...
Write and rename operations are often followed by CHMOD.
There may be valid use cases for rebuilding the site on CHMOD,
but that will require more complex logic than this simple conditional.
On OS X this seems to be related to Spotlight, see:
https://github.com/go-fsnotify/fsnotify/issues/15
A workaround is to put your site(s) on the Spotlight exception list,
but that may be a little mysterious for most end users.
So, for now, we skip reload on CHMOD.
This small commit will be a 100% improvement for most OS X-users.
Fixes #1587
2015-11-18 22:59:32 +01:00
Bjørn Erik Pedersen
b08d9f26ae
Make replaceShortcodeTokens rewrite the input slice
...
Currently a `[]byte` copy is returned. In most cases this is the safe thing to do, but we should just modify/grow the slice as needed.
This is faster and consumes less memory:
```
benchmark old ns/op new ns/op delta
BenchmarkReplaceShortcodeTokens-4 7350 4419 -39.88%
benchmark old allocs new allocs delta
BenchmarkReplaceShortcodeTokens-4 5 1 -80.00%
benchmark old bytes new bytes delta
BenchmarkReplaceShortcodeTokens-4 4816 1152 -76.08%
```
This commit is aso a small spring cleaning of duplicated code in the different `PageConvert` methods.
Fixes #1516
2015-11-17 18:24:17 +01:00
Anthony Fok
920138a867
Add latest review from Smashing Magazine to Press page
2015-11-16 22:54:15 -07:00
Anthony Fok
4ecf56b891
Add latest review from Smashing Magazine to Press page
2015-11-16 22:54:15 -07:00
spf13
28b217f5b7
Hugo server renders and serves from memory by default (30%+ improvement)
2015-11-16 22:00:11 -05:00
spf13
df824fa31b
Hugo server renders and serves from memory by default (30%+ improvement)
2015-11-16 22:00:11 -05:00
spf13
e1618e9d2f
permit the notimes flag on hugo server
2015-11-16 21:56:14 -05:00
spf13
cb48425f2d
No double slash when destination set to '/'
2015-11-16 21:56:14 -05:00
spf13
ef0b9b511c
Handle sync (file copy) errors better)
2015-11-16 21:56:14 -05:00
Anthony Fok
18a29964fa
Fix trivial typos in code
2015-11-16 07:15:17 -07:00
Anthony Fok
d2f28b6eb5
Copyedit docs/content/tools/index.md
2015-11-16 06:59:14 -07:00
Anthony Fok
452ffab461
Copyedit docs/content/tools/index.md
2015-11-16 06:59:14 -07:00
Anthony Fok
d007e03311
Add @wicast’s "Hugo is cool" post to Press page
2015-11-16 06:51:57 -07:00
Anthony Fok
2fec32a2da
Add @wicast’s "Hugo is cool" post to Press page
2015-11-16 06:51:57 -07:00
Anthony Fok
08cc604993
Add docs/data/titles.toml to set title "Site Showcase"
...
Idea from https://discuss.gohugo.io/t/how-to-name-list-templates/949
2015-11-16 06:48:20 -07:00
Anthony Fok
acd720df92
Add docs/data/titles.toml to set title "Site Showcase"
...
Idea from https://discuss.gohugo.io/t/how-to-name-list-templates/949
2015-11-16 06:48:20 -07:00
tuxy
d8199850b3
Add ReadText project to Site Showcase
2015-11-16 06:14:32 -07:00
tuxy
5c6d8c57b9
Add ReadText project to Site Showcase
2015-11-16 06:14:32 -07:00
Richard Sumilang
b9630bb9c9
Adding LosslessLife blog to showcase.
2015-11-16 06:03:28 -07:00
Richard Sumilang
39933111b9
Adding LosslessLife blog to showcase.
2015-11-16 06:03:28 -07:00
Bjørn Erik Pedersen
2843605963
Emphasize that commit message titles should start with a capital letter
2015-11-15 17:49:30 +01:00
spf13
619c16fd03
re-simplify SafeHTML function
2015-11-15 11:10:35 -05:00
digitalcraftsman
3ea2f444c7
Docs: add hugofy to tools
2015-11-15 11:05:17 -05:00
digitalcraftsman
1a26e35136
Docs: add hugofy to tools
2015-11-15 11:05:17 -05:00