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
Bjørn Erik Pedersen [Mon, 26 Dec 2016 09:53:52 +0000 (10:53 +0100)]
vendor: Update Afero
Fixes #2833
Bjørn Erik Pedersen [Sun, 25 Dec 2016 14:20:29 +0000 (15:20 +0100)]
vendor: Temp roll back to an older Afero
See #2833
Bjørn Erik Pedersen [Sun, 25 Dec 2016 13:53:34 +0000 (14:53 +0100)]
tpl: Update dateFormat test expectations for epoch values
As `Cast` now supports `int` inputs.
Bjørn Erik Pedersen [Sun, 25 Dec 2016 13:53:24 +0000 (14:53 +0100)]
vendor: Update dependencies
Tristan Rice [Sun, 25 Dec 2016 12:43:50 +0000 (04:43 -0800)]
tpl: Fix crash when using imageConfig
defaultImageConfigCache is now initialized statically instead of relying on it
being initialized in the reset function.
Fixes #2806
Cameron Moore [Fri, 23 Dec 2016 04:44:35 +0000 (22:44 -0600)]
helpers: Remove "no theme set" warning
Fixes #2821
Cameron Moore [Fri, 23 Dec 2016 04:05:59 +0000 (22:05 -0600)]
tpl: Update getenv to accept interface{} params
Updates #2822
Cameron Moore [Fri, 23 Dec 2016 04:01:00 +0000 (22:01 -0600)]
tpl: Update title to accept interface{} params
Updates #2822
Cameron Moore [Fri, 23 Dec 2016 03:54:08 +0000 (21:54 -0600)]
tpl: Update upper to accept interface{} params
Updates #2822
Cameron Moore [Thu, 22 Dec 2016 23:39:38 +0000 (17:39 -0600)]
tpl: Update lower to accept interface{} params
Updates #2822
Cameron Moore [Thu, 22 Dec 2016 23:29:31 +0000 (17:29 -0600)]
tpl: Update hasPrefix to accept interface{} params
Updates #2822
Cameron Moore [Fri, 23 Dec 2016 04:19:00 +0000 (22:19 -0600)]
Update Travis go versions
Asif Mehedi [Thu, 22 Dec 2016 16:19:10 +0000 (22:19 +0600)]
docs: Convert code in multilingual.md to TOML
There was a mix of TOML and YAML in the first example config.
patrick [Wed, 21 Dec 2016 21:34:46 +0000 (21:34 +0000)]
docs: Add neavey.net to the showcase.
Emily Huynh [Thu, 22 Dec 2016 16:05:48 +0000 (10:05 -0600)]
docs: Fix typo in templates/blocks
Fixed typo in templates/blocks.md in the docs.
Akilan Elango [Thu, 22 Dec 2016 16:03:33 +0000 (21:33 +0530)]
docs: Add details about binary names for setup on Windows
The tutorial for installing on windows didn't mention the exact name of the
hugo executable in windows which is generally hugo_<hugo-version>_windows_<arch>.exe.
The tutorial mentioned the windows executable's name as hugo.exe, which
can be confusing sometimes. So extra information has been added to
rename the executable to hugo.exe which would be easy to use.
Fixes #2656
avi [Thu, 22 Dec 2016 07:39:58 +0000 (13:09 +0530)]
command: Add `themesDir` command argument to specify themes directory
Christian Mendoza [Sun, 16 Oct 2016 17:46:10 +0000 (13:46 -0400)]
docs: Update christianmendoza.me in the showcase
Bjørn Erik Pedersen [Wed, 21 Dec 2016 09:17:05 +0000 (10:17 +0100)]
hugolib: Add a test assertion for IsTranslated
See #2812
Bjørn Erik Pedersen [Tue, 20 Dec 2016 08:39:12 +0000 (09:39 +0100)]
docs: Regenerate commands doc
Bjørn Erik Pedersen [Mon, 19 Dec 2016 22:14:10 +0000 (23:14 +0100)]
Bump to 0.19-DEV
Bjørn Erik Pedersen [Mon, 19 Dec 2016 16:12:11 +0000 (17:12 +0100)]
Add GoBuilds to .gitignore
Bjørn Erik Pedersen [Mon, 19 Dec 2016 14:37:01 +0000 (15:37 +0100)]
docs: Add new alias feature to release docs
Bjørn Erik Pedersen [Mon, 19 Dec 2016 14:35:20 +0000 (15:35 +0100)]
Bump to 0.18 release version
Bjørn Erik Pedersen [Mon, 19 Dec 2016 13:42:01 +0000 (14:42 +0100)]
docs: Add 0.18 release notes
Bjørn Erik Pedersen [Fri, 16 Dec 2016 19:18:20 +0000 (20:18 +0100)]
vendor: Update go-toml
Fixes #2800
Ashutosh Gangwar [Fri, 16 Dec 2016 10:10:14 +0000 (15:40 +0530)]
docs: Fix broken link to Content Types
Brian Shumate [Fri, 16 Dec 2016 00:09:51 +0000 (19:09 -0500)]
docs: Update layouts path name
Bjørn Erik Pedersen [Thu, 15 Dec 2016 21:02:21 +0000 (22:02 +0100)]
docs: Improve documentation for block templates
Hopefully.
Fixes #2363
Bjørn Erik Pedersen [Wed, 14 Dec 2016 19:12:03 +0000 (20:12 +0100)]
hugolib: Enable override of theme base template only
This commit fixes the base template lookup order to match the behaviour of regular templates.
```
1. <current-path>/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>.
2. <current-path>/baseof.<suffix>
3. _default/<template-name>-baseof.<suffix>, e.g. list-baseof.<suffix>.
4. _default/baseof.<suffix>
For each of the steps above, it will first look in the project, then, if theme is set,
in the theme's layouts folder.
```
Fixes #2783
Cameron Moore [Thu, 15 Dec 2016 17:06:25 +0000 (11:06 -0600)]
docs: Clarify single page template search path
Fixes #2791
Cameron Moore [Thu, 15 Dec 2016 16:56:52 +0000 (10:56 -0600)]
docs: Fix pipe examples
Fixes #2787
Cameron Moore [Thu, 15 Dec 2016 16:39:29 +0000 (10:39 -0600)]
docs: Fix Ref and RelRef syntax
Fixes #2793
Cameron Moore [Wed, 14 Dec 2016 02:37:34 +0000 (20:37 -0600)]
docs: Document partialCached func
Fixes #2779
Cameron Moore [Sun, 11 Dec 2016 23:44:14 +0000 (17:44 -0600)]
docs: Add .Site.RegularPages docs
Fixes #2775
Cameron Moore [Mon, 12 Dec 2016 02:29:07 +0000 (20:29 -0600)]
docs: Update GitInfo usage docs
Cameron Moore [Mon, 12 Dec 2016 00:55:36 +0000 (18:55 -0600)]
docs: Cleanup Extras menu ordering
Cameron Moore [Mon, 12 Dec 2016 00:40:45 +0000 (18:40 -0600)]
docs: Add Extras > GitInfo
Fixes #2670
Bjørn Erik Pedersen [Thu, 15 Dec 2016 08:27:30 +0000 (09:27 +0100)]
create: Allow empty dates in archetype in new
To make it behave the same as Hugo 0.17.
madhead [Wed, 14 Dec 2016 10:01:11 +0000 (05:01 -0500)]
docs: Fix querify example
Bjørn Erik Pedersen [Mon, 12 Dec 2016 23:15:21 +0000 (00:15 +0100)]
tpl: Add a querify test case that is actually and URL
See #2780
Bjørn Erik Pedersen [Sun, 11 Dec 2016 12:01:11 +0000 (13:01 +0100)]
Fix menu URL for node type pages
By delaying the menu assembly.
Fixes #2770
Eugene Brodsky [Sat, 10 Dec 2016 06:59:42 +0000 (01:59 -0500)]
docs: Clarify usage of archetypes provided by themes
Cameron Moore [Fri, 9 Dec 2016 22:27:20 +0000 (16:27 -0600)]
docs: Update File variables
Cipto Hadi [Fri, 9 Dec 2016 01:31:50 +0000 (08:31 +0700)]
docs: Fix prev/next links in content section
Bjørn Erik Pedersen [Tue, 6 Dec 2016 08:57:05 +0000 (09:57 +0100)]
hugolib: Fix comment
Bjørn Erik Pedersen [Tue, 6 Dec 2016 08:32:14 +0000 (09:32 +0100)]
hugolib: Respect disableRSS
Fixes #2764
Bjørn Erik Pedersen [Sun, 4 Dec 2016 23:27:49 +0000 (00:27 +0100)]
tpl: Avoid repeating the same test case in TestMD5 and TesSHA*
digitalcraftsman [Sun, 4 Dec 2016 17:20:56 +0000 (18:20 +0100)]
docs: Fix linebreaks in templates/variables.md
digitalcraftsman [Sun, 4 Dec 2016 12:35:31 +0000 (13:35 +0100)]
tpl: Add sha256 template function
Fixes #2742
digitalcraftsman [Sat, 3 Dec 2016 19:23:41 +0000 (20:23 +0100)]
docs: Update description of querify
digitalcraftsman [Sat, 3 Dec 2016 19:12:12 +0000 (20:12 +0100)]
docs: Document querify template func
Closes #2733
Bjørn Erik Pedersen [Sat, 3 Dec 2016 16:42:45 +0000 (17:42 +0100)]
hugolib: Add regular content page count in publish summary
Fixes #2759
Bjørn Erik Pedersen [Fri, 2 Dec 2016 15:09:18 +0000 (16:09 +0100)]
hugolib: Remove superfluous assignment
Bjørn Erik Pedersen [Thu, 1 Dec 2016 09:21:49 +0000 (10:21 +0100)]
hugolib: Make RawContent raw again
This was a regression introduced in Hugo 0.17.
Fixes #2601
Cameron Moore [Wed, 30 Nov 2016 04:52:52 +0000 (22:52 -0600)]
commands: Add noChmod option to disable perm sync
Includes updates to docs.
Fixes #2749
Bjørn Erik Pedersen [Wed, 30 Nov 2016 07:32:49 +0000 (08:32 +0100)]
vendor: Update fsync
Bjørn Erik Pedersen [Wed, 30 Nov 2016 07:29:08 +0000 (08:29 +0100)]
create: Run all the test variants in TestNewContent
See #2750
Chase Adams [Tue, 29 Nov 2016 23:03:47 +0000 (15:03 -0800)]
hugolib: Fix rendered empty msg
Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`.
Bjørn Erik Pedersen [Tue, 29 Nov 2016 19:32:26 +0000 (20:32 +0100)]
create: Simplify archetype logic
See ##2750
Bjørn Erik Pedersen [Tue, 29 Nov 2016 19:18:09 +0000 (20:18 +0100)]
create: Fix archetype title and date handling
Fixes #2750
Bjørn Erik Pedersen [Mon, 28 Nov 2016 15:10:16 +0000 (16:10 +0100)]
vendor: Update go-toml
See #2745
Bjørn Erik Pedersen [Sun, 27 Nov 2016 22:21:10 +0000 (23:21 +0100)]
makefile: Add test-cover-html
Bjørn Erik Pedersen [Sun, 27 Nov 2016 18:25:28 +0000 (19:25 +0100)]
hugolib: Create the permalink once only
Bjørn Erik Pedersen [Sun, 27 Nov 2016 17:01:43 +0000 (18:01 +0100)]
tpl: Fix params case issue with nested template funcs
Fixes #2740
Bjørn Erik Pedersen [Sat, 26 Nov 2016 14:50:32 +0000 (15:50 +0100)]
hugolib: Fix regressions with uglyURLs
Fixes #2734
Bjørn Erik Pedersen [Wed, 23 Nov 2016 21:06:15 +0000 (22:06 +0100)]
hugolib: Avoid repeated Viper loads of sectionPagesMenu
See #2728
Victor Kropp [Sun, 13 Nov 2016 23:04:28 +0000 (00:04 +0100)]
hugolib: Add shortcode for Instagram
digitalcraftsman [Wed, 23 Nov 2016 18:53:24 +0000 (19:53 +0100)]
docs: Set correct default archetype directory in overview
Fixes #2719.