Steve Francia [Wed, 25 Nov 2015 14:33:53 +0000 (09:33 -0500)]
version bump to v0.15
Steve Francia [Wed, 25 Nov 2015 13:33:38 +0000 (08:33 -0500)]
Update license file in the docs/website to apache
Cameron Moore [Wed, 25 Nov 2015 00:30:05 +0000 (18:30 -0600)]
Update release notes with additional new features
Steve Francia [Tue, 24 Nov 2015 21:51:01 +0000 (16:51 -0500)]
Update and reorganize 0.15 release notes
Bjørn Erik Pedersen [Tue, 24 Nov 2015 20:13:02 +0000 (21:13 +0100)]
Make the release note about renderToDisk more consise
See #1611
digitalcraftsman [Tue, 24 Nov 2015 19:45:54 +0000 (20:45 +0100)]
Update release notes
digitalcraftsman [Mon, 23 Nov 2015 18:32:03 +0000 (19:32 +0100)]
Add IsNamedParams property in shortcodes
digitalcraftsman [Fri, 20 Nov 2015 19:31:57 +0000 (20:31 +0100)]
Add documentation for built-in shortcodes
Fixes #1576
digitalcraftsman [Fri, 20 Nov 2015 18:44:05 +0000 (19:44 +0100)]
Add shortcode for tweets
digitalcraftsman [Fri, 20 Nov 2015 17:38:56 +0000 (18:38 +0100)]
Add shortcode for github gists
digitalcraftsman [Fri, 20 Nov 2015 17:33:46 +0000 (18:33 +0100)]
Add shortcode for vimeo
digitalcraftsman [Fri, 20 Nov 2015 17:31:37 +0000 (18:31 +0100)]
Add shortcode for youtube
digitalcraftsman [Fri, 20 Nov 2015 17:13:43 +0000 (18:13 +0100)]
Add shortcode for speakerdeck
Cameron Moore [Tue, 24 Nov 2015 05:02:33 +0000 (23:02 -0600)]
Update shortcode docs with .IsNamedParams
There are some minor cleanups included here as well.
Fixes #1607
Steve Francia [Tue, 24 Nov 2015 03:16:36 +0000 (22:16 -0500)]
Change the license to Apache 2.0
Bjørn Erik Pedersen [Mon, 23 Nov 2015 21:35:54 +0000 (22:35 +0100)]
Simplify ExtractRootPaths
Andrew Brampton [Thu, 9 Jul 2015 01:51:54 +0000 (18:51 -0700)]
Add PygmentsOptions option
This allows default pygments settings to be used, if none are explictly set per shortcode.
Fixes #1260
Kato Kazuyoshi [Sat, 17 Oct 2015 03:45:49 +0000 (20:45 -0700)]
Permalink on Node and Page should be of string
This change fixes #1384.
Marek Janda [Tue, 3 Nov 2015 19:09:34 +0000 (20:09 +0100)]
Move blackfriday site-wide config loading to NewBlackFriday()
Cameron Moore [Sat, 21 Nov 2015 00:59:54 +0000 (18:59 -0600)]
Add shortcode IsNamedParams property
It would be helpful to know whether a shortcode was called with positional or
named parameters. This commit adds a boolean `IsNamedParams` property to the
`ShortcodeWithPage` struct.
Bjørn Erik Pedersen [Mon, 23 Nov 2015 15:51:12 +0000 (16:51 +0100)]
Restructure the gen commands
Fixes #1603
Bjørn Erik Pedersen [Mon, 23 Nov 2015 15:32:06 +0000 (16:32 +0100)]
Improve "watching for ..." logging
Anthony Fok [Sun, 22 Nov 2015 16:19:54 +0000 (09:19 -0700)]
Add commands/genman.go to autogenerate man pages
Fixes #1369
Anthony Fok [Sun, 22 Nov 2015 16:40:22 +0000 (09:40 -0700)]
Fix missing word in code comment (my own fault)
Bjørn Erik Pedersen [Sat, 21 Nov 2015 22:29:58 +0000 (23:29 +0100)]
Avoid multiple locks for shortcode template
Fixes #1600
Bjørn Erik Pedersen [Sat, 21 Nov 2015 20:57:26 +0000 (21:57 +0100)]
Improve RW-locking of template in shortcode handling
See #1599
Bjørn Erik Pedersen [Sat, 21 Nov 2015 19:03:18 +0000 (20:03 +0100)]
Fix recently introduced new data race in the shortcode handling
Fixes #1599
Anthony Fok [Sat, 21 Nov 2015 13:31:10 +0000 (06:31 -0700)]
Copyedit long help message in commands/server.go
Cameron Moore [Wed, 11 Nov 2015 03:31:52 +0000 (21:31 -0600)]
Add RSSLink to SiteInfo
Marek Janda [Mon, 2 Nov 2015 19:49:15 +0000 (20:49 +0100)]
Apply absURL on social tag urls
Cameron Moore [Sun, 15 Nov 2015 19:53:12 +0000 (13:53 -0600)]
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.
Anthony Fok [Fri, 20 Nov 2015 21:24:22 +0000 (14:24 -0700)]
docs: Change "Github" to "GitHub"
Anthony Fok [Fri, 20 Nov 2015 21:02:07 +0000 (14:02 -0700)]
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
digitalcraftsman [Fri, 20 Nov 2015 19:53:05 +0000 (20:53 +0100)]
Add Go in 5 minutes to the showcases
digitalcraftsman [Fri, 20 Nov 2015 19:41:16 +0000 (20:41 +0100)]
Docs: fix typo in template function section
Cameron Moore [Sun, 15 Nov 2015 20:30:57 +0000 (14:30 -0600)]
Add SafeJS template function
This commit adds a SafeJS template function. Tests and documentation are
included.
Fixes #1579
Bjørn Erik Pedersen [Fri, 20 Nov 2015 18:18:38 +0000 (19:18 +0100)]
Add increased time.Time support to the 0.15 release notes
Bjørn Erik Pedersen [Fri, 20 Nov 2015 18:16:13 +0000 (19:16 +0100)]
Update Travis 1.4.2 > 1.4.3
Steve Francia [Fri, 20 Nov 2015 15:26:21 +0000 (10:26 -0500)]
fix broken image in showcase
kmonsoor [Thu, 19 Nov 2015 23:24:41 +0000 (05:24 +0600)]
fixed documentation link
Matt Stratton [Fri, 20 Nov 2015 07:49:09 +0000 (01:49 -0600)]
Add Arrested DevOps site to Showcase
Steve Francia [Fri, 20 Nov 2015 15:13:03 +0000 (10:13 -0500)]
Hugo server watch by default
Bjørn Erik Pedersen [Fri, 20 Nov 2015 10:53:25 +0000 (11:53 +0100)]
Add time.Time support in ge, gt, le, lt
Fixes #1593
Bjørn Erik Pedersen [Thu, 19 Nov 2015 19:27:02 +0000 (20:27 +0100)]
Remove some superficial tests
Bjørn Erik Pedersen [Thu, 19 Nov 2015 18:48:40 +0000 (19:48 +0100)]
Revert "Disable render-to-memory on Windows"
This reverts commit
91e0c2b1feb2a7a1b074784a41249139b2fae975.
This should now work.
Bjørn Erik Pedersen [Wed, 18 Nov 2015 22:10:56 +0000 (23:10 +0100)]
Disable render-to-memory on Windows
See #1586
Bjørn Erik Pedersen [Wed, 18 Nov 2015 21:59:32 +0000 (22:59 +0100)]
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
Bjørn Erik Pedersen [Tue, 20 Oct 2015 18:35:12 +0000 (20:35 +0200)]
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
Anthony Fok [Tue, 17 Nov 2015 05:54:15 +0000 (22:54 -0700)]
Add latest review from Smashing Magazine to Press page
spf13 [Tue, 17 Nov 2015 02:55:18 +0000 (21:55 -0500)]
Hugo server renders and serves from memory by default (30%+ improvement)
spf13 [Tue, 17 Nov 2015 02:54:21 +0000 (21:54 -0500)]
permit the notimes flag on hugo server
spf13 [Tue, 17 Nov 2015 02:53:05 +0000 (21:53 -0500)]
No double slash when destination set to '/'
spf13 [Tue, 17 Nov 2015 02:52:37 +0000 (21:52 -0500)]
Handle sync (file copy) errors better)
Anthony Fok [Mon, 16 Nov 2015 14:15:17 +0000 (07:15 -0700)]
Fix trivial typos in code
Anthony Fok [Mon, 16 Nov 2015 13:59:14 +0000 (06:59 -0700)]
Copyedit docs/content/tools/index.md
Anthony Fok [Mon, 16 Nov 2015 13:51:57 +0000 (06:51 -0700)]
Add @wicast’s "Hugo is cool" post to Press page
Anthony Fok [Mon, 16 Nov 2015 13:48:20 +0000 (06:48 -0700)]
Add docs/data/titles.toml to set title "Site Showcase"
Idea from https://discuss.gohugo.io/t/how-to-name-list-templates/949
tuxy [Mon, 16 Nov 2015 08:51:12 +0000 (01:51 -0700)]
Add ReadText project to Site Showcase
Richard Sumilang [Sun, 15 Nov 2015 19:37:31 +0000 (11:37 -0800)]
Adding LosslessLife blog to showcase.
Bjørn Erik Pedersen [Sun, 15 Nov 2015 16:49:30 +0000 (17:49 +0100)]
Emphasize that commit message titles should start with a capital letter
spf13 [Sun, 15 Nov 2015 16:10:35 +0000 (11:10 -0500)]
re-simplify SafeHTML function
digitalcraftsman [Wed, 11 Nov 2015 12:56:13 +0000 (13:56 +0100)]
Docs: add hugofy to tools
spf13 [Thu, 12 Nov 2015 16:09:20 +0000 (11:09 -0500)]
simplify rssuri logic
spf13 [Thu, 12 Nov 2015 15:53:21 +0000 (10:53 -0500)]
rewrite safeHTML function
Bjørn Erik Pedersen [Sat, 14 Nov 2015 15:59:45 +0000 (16:59 +0100)]
Revert "Update Go release version to 1.5.2 in Travis config"
This reverts commit
30ebf6b82354fc1eb7a15aa0ff610b24a690724c.
There is no Go 1.5.2... Where did I get that info!?
Bjørn Erik Pedersen [Fri, 13 Nov 2015 20:21:03 +0000 (21:21 +0100)]
Get rid of allocation in the BenchmarkReplaceShortcodeTokens itself
So we can see the real numbers.
See #1516
digitalcraftsman [Fri, 13 Nov 2015 12:13:27 +0000 (13:13 +0100)]
Docs: fix typo in tools section
digitalcraftsman [Wed, 11 Nov 2015 12:56:13 +0000 (13:56 +0100)]
Docs: add hugofy to tools
digitalcraftsman [Wed, 11 Nov 2015 12:40:12 +0000 (13:40 +0100)]
Update release notes
Note the new built-in Google Analytics template.
Coders Digest [Wed, 11 Nov 2015 06:25:06 +0000 (14:25 +0800)]
Adding article about moving to hugo
spf13 [Thu, 12 Nov 2015 15:23:41 +0000 (10:23 -0500)]
Improve the server usage output
Bjørn Erik Pedersen [Wed, 11 Nov 2015 21:47:09 +0000 (22:47 +0100)]
Print parse errors from Viper
Fabiano Frizzo [Tue, 10 Nov 2015 00:08:40 +0000 (22:08 -0200)]
doc: Add new article by Fabiano Frizzo to Press
Bjørn Erik Pedersen [Tue, 10 Nov 2015 20:41:47 +0000 (21:41 +0100)]
Update Go release version to 1.5.2 in Travis config
Tatsushi Demachi [Tue, 10 Nov 2015 13:02:45 +0000 (22:02 +0900)]
Fix GroupByParam to return original param string
Page.GroupByParam function internally uses Page.GetParam to get a
parameter value for a key of a page group but now Page.GetParam returns
a lowercase character string every time. It has no need to using
lowercase character string as a group key value and it confuse a
function user.
This fixes it to keep and return an original parameter string as a group
key value.
Fix #1564
spf13 [Tue, 10 Nov 2015 04:31:52 +0000 (23:31 -0500)]
Add support for dynamic reloading of config file when watching
spf13 [Tue, 10 Nov 2015 04:23:39 +0000 (23:23 -0500)]
Add hugo theme site to the sidebar
Also reorder the menu a bit and clarify a couple items.
Bjørn Erik Pedersen [Mon, 9 Nov 2015 20:01:36 +0000 (21:01 +0100)]
Use Identifier as last sort resort for default menu sort
Fixes #1562
Billy Burrows [Thu, 5 Nov 2015 10:52:53 +0000 (10:52 +0000)]
Small Doc Changes
Bjørn Erik Pedersen [Sat, 7 Nov 2015 00:39:10 +0000 (01:39 +0100)]
Cosmetic change in README to trigger new build
digitalcraftsman [Wed, 4 Nov 2015 23:33:03 +0000 (00:33 +0100)]
Docs: fix broken links
digitalcraftsman [Mon, 19 Oct 2015 11:31:03 +0000 (13:31 +0200)]
Add internal Google Analytics template
This commits also adds the GoogleAnalytics
variable to insert the tracking code.
Fixes #1424.
Arjen Schwarz [Sun, 1 Nov 2015 06:57:57 +0000 (17:57 +1100)]
Improvements to Automated Deployments tutorial
Prevent some frequently occurring problems
* Ensure version number is between quotes
* Ensure git and SSH are installed for the deployment step
* Focus extra attention on the wercker.yml verification site
Bjørn Erik Pedersen [Mon, 2 Nov 2015 16:24:50 +0000 (17:24 +0100)]
Export Page.Layout
And at the same time rename and unexport the badly named `Layout()` func. That method is not very usable outside the package.
Fixes #1539
Anthony Fok [Sat, 31 Oct 2015 16:54:55 +0000 (10:54 -0600)]
doc: Add new article by Thomas Peham to Press
Timothy Hopper [Wed, 28 Oct 2015 14:52:28 +0000 (10:52 -0400)]
Update link to S3 deploy instructions
Previous link goes to page with warning "This article is outdated"
Fabiano Frizzo [Wed, 28 Oct 2015 01:14:36 +0000 (23:14 -0200)]
Fix doc render on Firefox
Fix #1523
Sergey Mudrik [Tue, 27 Oct 2015 21:36:00 +0000 (23:36 +0200)]
Fixed link to Google Prettify
Google Prettify has been moved to github
Robert Aistleitner [Tue, 27 Oct 2015 08:23:57 +0000 (09:23 +0100)]
add bugtrackers.io to hugo docs showcases
Arun Sori [Sat, 24 Oct 2015 14:28:55 +0000 (19:58 +0530)]
Fix spell mistake in variables.md
Shivanshu Agrawal [Sat, 24 Oct 2015 08:47:22 +0000 (14:17 +0530)]
add ninjaducks.in to showcase
Arun Sori [Fri, 23 Oct 2015 16:21:37 +0000 (21:51 +0530)]
Disable directory listing for Hugo file server
Fix #1400
Shai Efrati [Fri, 23 Oct 2015 11:04:12 +0000 (14:04 +0300)]
Remove dots from snippets.
See confusing issue #1513.
digitalcraftsman [Mon, 19 Oct 2015 11:50:48 +0000 (13:50 +0200)]
Docs: fix typo under tools section
Anthony Fok [Fri, 30 Oct 2015 20:12:01 +0000 (14:12 -0600)]
Fix missing "]" in README.md in commit
2242712
Anthony Fok [Fri, 30 Oct 2015 20:08:21 +0000 (14:08 -0600)]
Add CircleCI status badge to README.md
Also, following the example of title="wercker status",
add "title" attribute to the other status badges
in order to show tooltips.
Anthony Fok [Wed, 5 Aug 2015 22:39:29 +0000 (16:39 -0600)]
Add smartDashes flag for Blackfriday
To allow the end users to disable any form of smart dashes
(LaTeX-style or not) while keeping the rest of Blackfriday
SmartyPants features.
Depends on https://github.com/russross/blackfriday/pull/190
"Add HTML_SMARTYPANTS_DASHES for toggling smart dashes"
to be accepted by Blackfriday developers.
Bjørn Erik Pedersen [Wed, 21 Oct 2015 08:48:16 +0000 (10:48 +0200)]
Remove anchor from fork link in README
Bjørn Erik Pedersen [Tue, 20 Oct 2015 21:16:21 +0000 (23:16 +0200)]
Turn all README headlines into imperative mode
This also matches the commit guidelines.
Bjørn Erik Pedersen [Tue, 20 Oct 2015 19:25:27 +0000 (21:25 +0200)]
Trim down 'Adding Compile Information to Hugo' in README