John Feminella [Fri, 10 Feb 2017 13:01:25 +0000 (08:01 -0500)]
hugolib: Add ability to sort by frontmatter parameters
Bjørn Erik Pedersen [Fri, 10 Feb 2017 10:26:28 +0000 (17:26 +0700)]
hugolib: Fix error for non-renderable HTML content with shortcodes
This commit re-introduces template lookup order that was accidently removed as
part of the template nonglobal refactoring.
Fixes #3021
Bjørn Erik Pedersen [Thu, 9 Feb 2017 18:28:02 +0000 (01:28 +0700)]
hugolib: Use the site's Tmpl for non-renderable pages
Yizhe Xu [Thu, 9 Feb 2017 09:50:16 +0000 (02:50 -0700)]
docs: Add instructions for customized domain
John Feminella [Thu, 9 Feb 2017 09:48:07 +0000 (04:48 -0500)]
hugolib: Correct repeated spelling errors in documentation
Bjørn Erik Pedersen [Tue, 7 Feb 2017 03:43:30 +0000 (10:43 +0700)]
tpl: Must do a extra lookup of cloned base templates
See #2549
Fixes #3013
Bjørn Erik Pedersen [Mon, 6 Feb 2017 19:04:12 +0000 (02:04 +0700)]
Revert "hugolib: Add some baseof test variants"
This reverts commit
d11f37d97cb3b1298f04f2fbc6ba643d93509b35.
Will have to look more closely into this.
See #2995
Bjørn Erik Pedersen [Mon, 6 Feb 2017 16:07:48 +0000 (23:07 +0700)]
hugolib: Add some baseof test variants
See #2995
Dundonian [Sun, 5 Feb 2017 20:55:18 +0000 (12:55 -0800)]
docs: Update Bitbucket Hosting Tutorial
Pascal Aubort [Sun, 5 Feb 2017 20:53:14 +0000 (21:53 +0100)]
docs: Add article to press section
Link blog post which describes how to use Cloud9 IDE to make a Hugo site and then deploy it to Google App Engine.
ominty [Wed, 1 Feb 2017 17:45:13 +0000 (18:45 +0100)]
docs: Update link to blog post in community/press.md
changed link to german tutorial series as site structure has changed due to page update
bogem [Thu, 2 Feb 2017 21:25:42 +0000 (22:25 +0100)]
helpers: Fix misspells
Andrew [Sat, 4 Feb 2017 14:02:04 +0000 (09:02 -0500)]
docs: Add tuorial "How to use Google Firebase to host a Hugo site"
Aerobatic.io migrated their Bitbucket hosting plugin and no longer provide
a free tier with a custom domain. This tutorial covers setting up Firebase
to host a Hugo site that was previously hosted on Aerobatic.
digitalcraftsman [Sat, 4 Feb 2017 21:23:57 +0000 (22:23 +0100)]
docs: Fix typo in templates/functions.md
Bjørn Erik Pedersen [Sat, 4 Feb 2017 16:15:07 +0000 (23:15 +0700)]
hugolib: Skip rendering for the page tests
Bjørn Erik Pedersen [Tue, 10 Jan 2017 09:55:03 +0000 (10:55 +0100)]
all: Refactor to nonglobal file systems
Updates #2701
Fixes #2951
Bjørn Erik Pedersen [Fri, 3 Feb 2017 12:23:32 +0000 (19:23 +0700)]
vendor: Revert to previous cast
The new cast caused test failures.
Bjørn Erik Pedersen [Fri, 3 Feb 2017 11:39:35 +0000 (18:39 +0700)]
vendor: Update cast
Devin Schulz [Sat, 28 Jan 2017 17:13:31 +0000 (12:13 -0500)]
docs: Add engineering.invisionapp.com to the showcase
Sebastian G [Fri, 27 Jan 2017 14:15:55 +0000 (15:15 +0100)]
docs: Multilingual documentation for frontmatter params
Fixes #2990
ZaneDev [Thu, 26 Jan 2017 18:42:56 +0000 (10:42 -0800)]
docs: Add netlify to the list of static hosting solutions
Netlify is a solid solution similar to surge and aerobatic and they have a great free plan and pro plan for open source projects.
Alan Orth [Sun, 22 Jan 2017 15:29:33 +0000 (17:29 +0200)]
docs: Add picturingjordan.com to the showcase
Leo Arias [Mon, 9 Jan 2017 00:54:39 +0000 (00:54 +0000)]
Add pygmentize to the hugo snap
closes #2914
Alan Orth [Sun, 22 Jan 2017 14:06:41 +0000 (16:06 +0200)]
tpl: Improve generation of OpenGraph date tags
Allow all nodes/pages to use date-related OpenGraph meta tags, not
only sites which are using the as-of-yet unfinished .Site.Authors
functionality.
Improve compliance of tags with Facebook's OpenGraph docs for the
"website" and "article" types[0][1]. Also, use the proper tag for
modification date (og:update_time vs article:modified_time).
Generate date published using either .PublishDate or .Date, and use
.Lastmod for modification date, which can use the new enableGitInfo
functionality from Hugo 0.18, but seamlessly falls back to .Date if
the site does not have this enabled/supported.
[0] https://developers.facebook.com/docs/reference/opengraph/object-type/website/
[1] https://developers.facebook.com/docs/reference/opengraph/object-type/article/
Ardianta Pargo [Thu, 19 Jan 2017 09:22:56 +0000 (17:22 +0800)]
docs: Add petanikode.com to the showcase
digitalcraftsman [Thu, 19 Jan 2017 18:58:53 +0000 (19:58 +0100)]
cmd: Remove empty tags/features strings in theme.toml template
Wouter Groeneveld [Wed, 18 Jan 2017 18:39:07 +0000 (19:39 +0100)]
docs: Add Dokuwiki to hugo conversion tool
I've written a DokuWiki to hugo conversion tool in python to migrate my blog content to Hugo. I hope others will also benefit from it. Feel free to take a look and give some feedback.
Dmitry Kurkin [Wed, 18 Jan 2017 18:30:25 +0000 (20:30 +0200)]
make: Fix typo
digitalcraftsman [Wed, 18 Jan 2017 18:24:32 +0000 (19:24 +0100)]
docs: Add tumblr-to-hugo to tools section
Cameron Moore [Tue, 17 Jan 2017 18:51:24 +0000 (12:51 -0600)]
tpl: Fix deadlock in cached partials
Cached partials that contained cached partials would create a deadlock.
Fixes #2935
digitalcraftsman [Sun, 15 Jan 2017 19:08:34 +0000 (20:08 +0100)]
docs: Update author credits in GH pages tutorial
Gunnar Morling [Wed, 11 Jan 2017 22:45:24 +0000 (23:45 +0100)]
docs: Update tutorial on GitHub Pages deployment
Now it describes the deployment via /docs folder and git worktree.
Bjørn Erik Pedersen [Sat, 14 Jan 2017 11:39:52 +0000 (12:39 +0100)]
tpl: Fix broken benchmarks
But that did not explain issue #2935:
```
BenchmarkPartial-4 200000 6452 ns/op 1040 B/op 30 allocs/op
BenchmarkPartialCached-4 500000 4104 ns/op 544 B/op 14 allocs/op
BenchmarkPartialCachedVariants-4 500000 3398 ns/op 624 B/op 17 allocs/op
```
Bjørn Erik Pedersen [Wed, 11 Jan 2017 17:53:51 +0000 (18:53 +0100)]
commands: Fix newly broken server flag handling
Cameron Moore [Wed, 11 Jan 2017 09:07:35 +0000 (03:07 -0600)]
Clean up Makefile (#2924)
Add missing deprecated targets. Remove `test` from `check` target since
we already have `test-race`.
Fixes #2901
Brad Peabody [Wed, 11 Jan 2017 08:56:03 +0000 (00:56 -0800)]
Show full template error
Bjørn Erik Pedersen [Tue, 10 Jan 2017 00:36:59 +0000 (01:36 +0100)]
all: Refactor to nonglobal template handling
Updates #2701
Bjørn Erik Pedersen [Sun, 8 Jan 2017 15:54:05 +0000 (16:54 +0100)]
hugolib: Avoid double-encoding of paginator URLs
Fixes #2177
Bjørn Erik Pedersen [Sat, 7 Jan 2017 18:29:20 +0000 (19:29 +0100)]
helpers: Allow tilde in URLs
See #2177
Bjørn Erik Pedersen [Tue, 3 Jan 2017 16:28:51 +0000 (17:28 +0100)]
all: Refactor to non-global logger
Note that this looks like overkill for just the logger, and that is correct,
but this will make sense once we start with the template handling etc.
Updates #2701
Leo Arias [Fri, 6 Jan 2017 17:48:26 +0000 (11:48 -0600)]
Add the instructions to install the snap
magikstm [Fri, 6 Jan 2017 15:31:22 +0000 (10:31 -0500)]
hugolib: Remove summary.go
Became obsolete after refactoring.
Fixes #2888.
Cameron Moore [Wed, 28 Dec 2016 02:08:24 +0000 (20:08 -0600)]
hugolib: Allow arrays of arrays in frontmatter Params
Fixes #2752
Cameron Moore [Wed, 4 Jan 2017 20:13:15 +0000 (14:13 -0600)]
commands: Show OS and ARCH in version output
Mathias Biilmann [Fri, 6 Jan 2017 09:42:32 +0000 (01:42 -0800)]
tpl: Add truncate template function
This commit adds a truncate template function for safely truncating text without
breaking words. The truncate function is HTML aware, so if the input text is a
template.HTML it will be truncated without leaving broken or unclosed HTML tags.
{{ "this is a very long text" | truncate 10 " ..." }}
{{ "With [Markdown](/markdown) inside." | markdownify | truncate 10 }}
magikstm [Wed, 4 Jan 2017 10:52:20 +0000 (05:52 -0500)]
target: Add COM0 and LPT0 as reservedNames on Windows
Fixes #2883
Bjørn Erik Pedersen [Thu, 5 Jan 2017 19:57:24 +0000 (20:57 +0100)]
hugolib: Sync page collections with Site.Info on rebuild in watch mode
There is definitive potential for cleanup in this area, but this will have to do for now.
Fixes #2869
Bjørn Erik Pedersen [Thu, 5 Jan 2017 14:43:48 +0000 (15:43 +0100)]
commans: Remove unneeded build constraint
Fixes #2886
magikstm [Wed, 4 Jan 2017 22:19:09 +0000 (17:19 -0500)]
hugolib: Correct usage of "shortcode" in error messages
Bjørn Erik Pedersen [Thu, 5 Jan 2017 10:58:11 +0000 (11:58 +0100)]
commands, vendor: Remove log level setting in Jekyll command
And update the JWW lib.
Bjørn Erik Pedersen [Thu, 5 Jan 2017 10:25:27 +0000 (11:25 +0100)]
vendor: Update jww logger
Bjørn Erik Pedersen [Thu, 5 Jan 2017 00:40:00 +0000 (01:40 +0100)]
docs: Vanity-update of site meta description
Bjørn Erik Pedersen [Wed, 4 Jan 2017 23:00:00 +0000 (00:00 +0100)]
helpers: Remove unusded WordCount
Ryan Watters [Wed, 4 Jan 2017 16:20:01 +0000 (10:20 -0600)]
docs: Update references to _index.md
Anthony Fok [Wed, 4 Jan 2017 08:17:36 +0000 (01:17 -0700)]
docs: Add new article about Netlify's PR site preview
Written by @keybits and mentioned by @bep on Gitter
Anthony Fok [Wed, 4 Jan 2017 07:57:28 +0000 (00:57 -0700)]
helpers: Fix minor typo in error message for Seq()
Anthony Fok [Tue, 3 Jan 2017 18:45:29 +0000 (11:45 -0700)]
tpl: Fix Unix time test case in TestDateFormat()
Fixes #2855
Bjørn Erik Pedersen [Tue, 3 Jan 2017 16:50:44 +0000 (17:50 +0100)]
vendor: Fix broken build
Daniel Lang [Tue, 3 Jan 2017 16:11:22 +0000 (08:11 -0800)]
Update documentation and test for sitemap template
Cameron Moore [Mon, 2 Jan 2017 10:44:17 +0000 (04:44 -0600)]
hugolib: Clean up a benchmark
Bjørn Erik Pedersen [Tue, 3 Jan 2017 15:57:43 +0000 (16:57 +0100)]
commands, helpers, vendor: Update to the latest jww logger
Updates #2701
bogem [Thu, 24 Nov 2016 19:30:52 +0000 (20:30 +0100)]
helpers: Add doc to Language.SetParam
bogem [Thu, 24 Nov 2016 19:30:17 +0000 (20:30 +0100)]
commands, helpers: Fix docs
bogem [Wed, 23 Nov 2016 15:13:50 +0000 (16:13 +0100)]
commands: Fix case in default config variable
bogem [Wed, 23 Nov 2016 11:40:50 +0000 (12:40 +0100)]
commands: Fix case in names of some methods
digitalcraftsman [Mon, 2 Jan 2017 14:58:48 +0000 (15:58 +0100)]
docs: Fix typo in overview/source-directory.md
Timo Litzius [Mon, 2 Jan 2017 13:02:38 +0000 (14:02 +0100)]
docs: Add heimatverein-niederjosbach.de to the showcase
Timo Litzius [Mon, 2 Jan 2017 13:14:21 +0000 (14:14 +0100)]
docs: Add dbzman-online.eu to the showcase
Bret Mogilefsky [Mon, 2 Jan 2017 13:11:04 +0000 (05:11 -0800)]
docs: Fix typo in v0.18 release notes
Cameron Moore [Mon, 2 Jan 2017 13:08:36 +0000 (07:08 -0600)]
docs: Don't use binary version in docs site
Adds a "release" Site param that will be need to be updated for each
release.
Fixes #2857
Bjørn Erik Pedersen [Mon, 2 Jan 2017 11:28:26 +0000 (12:28 +0100)]
hugolib: Add a taxonomy test case
Cameron Moore [Mon, 2 Jan 2017 11:02:27 +0000 (05:02 -0600)]
Remove waffle.io graph from README
Waffle.io's throughput graph appears to be broken. Remove the graph and
simply link to GitHub's Pulse page.
Fixes #2865
Bjørn Erik Pedersen [Sun, 1 Jan 2017 22:54:19 +0000 (23:54 +0100)]
docs: Replace .Now with now
David Kassa [Sun, 1 Jan 2017 22:16:58 +0000 (16:16 -0600)]
Fix Appveyor Windows build and GitInfo path issue on Windows
Bjørn Erik Pedersen [Sun, 1 Jan 2017 12:10:36 +0000 (13:10 +0100)]
hugolib: Deprecate Page.Now
Use `now` (template func).
See
cabc6b31866e3bb86759f6615a83cec4c3610e82
Bjørn Erik Pedersen [Sun, 1 Jan 2017 11:33:30 +0000 (12:33 +0100)]
hugolib: Bump the current warning deprecations
Fixes #2836
Nishanth Shanmugham [Sun, 1 Jan 2017 01:50:46 +0000 (19:50 -0600)]
tpl: Add now function
Add a now template function that returns the current time as time.Time.
Also, update related docs.
digitalcraftsman [Sat, 31 Dec 2016 16:55:03 +0000 (17:55 +0100)]
docs, tpl: Fix documentation of UniqueID
See #2861
Bjørn Erik Pedersen [Sat, 31 Dec 2016 16:46:11 +0000 (17:46 +0100)]
source: Make UniqueID ... unique
Fixes #2861
digitalcraftsman [Sat, 31 Dec 2016 11:43:02 +0000 (12:43 +0100)]
tpl: Use HTTPS in Google Analytics template
Fixes #2858
Gertjan van den Burg [Sat, 31 Dec 2016 11:39:58 +0000 (12:39 +0100)]
docs: Add HugoPhotoSwipe to the tools section
HugoPhotoSwipe is a command line tool to create and manage PhotoSwipe galleries with Hugo. It resizes images for responsive layouts in PhotoSwipe and generates the Markdown necessary for Hugo to create the gallery. I think this can be a useful tool for Hugo users.
Bjørn Erik Pedersen [Thu, 29 Dec 2016 14:17:53 +0000 (15:17 +0100)]
travis: Add GOARCH 386 test
Closes #2847
Bjørn Erik Pedersen [Thu, 29 Dec 2016 15:43:10 +0000 (16:43 +0100)]
docs: Add release notes for Hugo 0.18.1
Anthony Fok [Thu, 29 Dec 2016 12:19:37 +0000 (05:19 -0700)]
vendor: Update Cobra
Fixes #2695
Gilbert Gilb's [Wed, 28 Dec 2016 17:40:36 +0000 (18:40 +0100)]
Fix Dockerfile
Asif Mehedi [Tue, 20 Dec 2016 04:52:24 +0000 (10:52 +0600)]
docs: Update GitLab depleyment in /themes/installing.md
Deployment to Gitlab fails if the theme folder is a git submodule.
Jean-Yves Gastaud [Tue, 20 Dec 2016 15:04:18 +0000 (16:04 +0100)]
docs: Hide next arrow in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:59:56 +0000 (15:59 +0100)]
docs: Remove right padding in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:53:29 +0000 (15:53 +0100)]
docs: Fix h1 size on small breakpoint in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:50:42 +0000 (15:50 +0100)]
docs: Remove unuseful breakpoint in theme
Jean-Yves Gastaud [Tue, 20 Dec 2016 14:27:12 +0000 (15:27 +0100)]
docs: Fix menu arrows position on mobile devices
Bjørn Erik Pedersen [Mon, 26 Dec 2016 18:30:57 +0000 (19:30 +0100)]
hugolib: Fix preserveTaxonomyNames regressions
Fixes #2809
digitalcraftsman [Wed, 28 Dec 2016 12:41:54 +0000 (13:41 +0100)]
docs: Add hugofy for VS Code to the tools section
Cameron Moore [Wed, 28 Dec 2016 03:14:43 +0000 (21:14 -0600)]
livereload: Simplify RefreshPath
Bjørn Erik Pedersen [Fri, 23 Dec 2016 08:52:05 +0000 (09:52 +0100)]
hugolib: Fix IsTranslated for "old" node types
The new logic for creating Page objects from old node types
didn't include itself in the translation logic, so
`IsTranslated` returned falsely false for sites with only two languages.
The `AllTranslations` method also returned too few pages in that case.
This commit fixes that.
Fixes #2812
Cameron Moore [Tue, 27 Dec 2016 01:42:43 +0000 (19:42 -0600)]
hugolib: Use reflect.DeepEqual in tests
Cameron Moore [Tue, 27 Dec 2016 02:36:08 +0000 (20:36 -0600)]
hugolib: Fix redundant URL file extension on taxonomy terms pages
Fixes #2819
Bjørn Erik Pedersen [Mon, 26 Dec 2016 18:31:34 +0000 (19:31 +0100)]
docs: Enable ToC for extras/shortcodes
Bjørn Erik Pedersen [Mon, 26 Dec 2016 13:52:31 +0000 (14:52 +0100)]
hugolib: Make template error messages more verbose
Fixes #2820
Bjørn Erik Pedersen [Mon, 26 Dec 2016 13:03:50 +0000 (14:03 +0100)]
helpers: Add patch version
Fixes #2832