Commit Graph
9901 Commits
Author SHA1 Message Date
Brian Pond 77f74ced56 fix: typo in output-formats.md
Correct sentence for clarity.
2019-06-11 10:09:10 -04:00
Bjørn Erik Pedersen 31c9c690fd releaser: Update Go Releaser and consolidate the 2 configs
Fixes #5949
2019-06-11 00:02:06 +02:00
Bjørn Erik Pedersen e8a716b23a tpl/collections: Fix slice type handling in sort
The `sort` template func was producing a `[]page.Page` which did not work in `.Paginate`.

Fixes #6023
2019-06-10 08:32:44 +02:00
Avery f71b67f34f Correct typo "RFC339" to "RFC1123Z" (#837)
* Correct typo "RFC339" to "RFC1123Z"

Per discussion in PR #887, I added a link to the Go time package documentation that lists constants that can serve as further examples.
2019-06-09 23:03:34 -04:00
Bjørn Erik Pedersen 3e6cb2cb77 hugolib: Fix bundle path when slug is set
Fixes #4870
2019-06-09 16:55:08 +02:00
Bjørn Erik Pedersen 8d898ad667 tpl/collections: Unwrap any interface value in sort and where
Hugo `0.55.0` introduced some new interface types for `Page` etc.

This worked great in general, but there were cases where this would fail in `where` and `sort`.

One such example would be sorting by `MenuItem.Page.Date` where `Page` on `MenuItem` was a small subset of the bigger `page.Page` interface.

This commit fixes that by unwrapping such interface values.

Fixes #5989
2019-06-09 16:54:36 +02:00
invzhi 424c0207ad baseurl -> baseURL 2019-06-08 11:38:33 +02:00
Niklas Fasching 29065e8269 Improve Org mode support: Replace goorgeous with go-org
Sadly, goorgeous has not been updated in over a year and still has a lot of
open issues (e.g. no support for nested lists).

go-org fixes most of those issues and supports a larger subset of Org mode
syntax.
2019-06-08 10:13:00 +02:00
Niklas Fasching fad183c4ae Refactor Org mode front matter: Introduce '#+KEY[]:' array notation
Hugo requires some front matter values to be arrays (e.g. for taxonomies).
Org mode front matter syntax (`#+KEY: VALUE`) does however not support anything
but string values normally - which is why goorgeous hardcoded the values for
the keys tags, categories & aliases to be parsed as string arrays. This causes
problems with custom taxonomies.

A simple thing we can do instead is make keywords ending in '[]' be parsed as
string arrays.
2019-06-08 10:13:00 +02:00
Niklas Fasching b6867bf806 Improve Org mode support: Replace goorgeous with go-org
Sadly, goorgeous has not been updated in over a year and still has a lot of
open issues (e.g. no support for nested lists).

go-org fixes most of those issues and supports a larger subset of Org mode
syntax.
2019-06-08 10:13:00 +02:00
Robert van Gent 30dcd1ec2d deploy: Default --target to the first deployment target 2019-06-08 00:41:59 +02:00
Robert van Gent 9df57154ee deploy: Default --target to the first deployment target 2019-06-08 00:41:59 +02:00
Anurag Goel f4e24a03e4 Render launched; no invite code needed 2019-06-07 06:26:04 +02:00
Anurag Goel 37e1101d3f Add Render hosting guide 2019-06-07 06:26:04 +02:00
dependabot[bot] 01d0a6481d Bump js-yaml from 3.12.0 to 3.13.1 in /themes/gohugoioTheme
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-05 20:22:47 +02:00
Patrick Kollitsch edb7b36b0d Link site hierarchy schema to larger version 2019-06-04 12:53:38 -04:00
Chris Jones af72acda03 Fixes typo in fingerprint.md 2019-06-04 08:49:22 +02:00
Patrick Kollitsch 0a738467bf Adding required XML tag to sample templates
Since Hugo 0.55.0 the XML declaration on XML and RSS files is not added automatically anymore. The samples should reflect that.
2019-06-03 15:00:36 +02:00
Vincent Fiduccia 35abce27ca Add safety barrier between concatenated javascript resources 2019-06-02 10:23:48 +02:00
Patrick Kollitsch 52211f6565 Remove note that XML declaration is not needed
Because, ... see above. It is indeed needed since 0.55.0 ;)
2019-06-01 11:20:16 +02:00
Patrick Kollitsch a39b9ac871 Adding required XML tag to sample templates
Since Hugo 0.55.0 the XML declaration on XML and RSS files is not added automatically anymore. The samples should reflect that.
2019-06-01 11:20:16 +02:00
Robert van Gent b363c62c41 Drop dashes in http header matcher attributes; other changes from code review 2019-05-31 22:08:12 +02:00
Robert van Gent 8914fe7ed7 Update CLI doc for "long" form 2019-05-31 22:08:12 +02:00
Robert van Gent f020a4769e docs: Add documentation for "hugo deploy" 2019-05-31 22:08:12 +02:00
Robert van Gent b0f536fb27 Drop dashes in http header matcher attributes; other changes from code review 2019-05-31 22:08:12 +02:00
Robert van Gent 1384d77a04 docs: Add documentation for "hugo deploy" 2019-05-31 22:08:12 +02:00
Robert van Gent 5e83f42562 deploy: remove TODO comment about subfolders; handled by GoCDK blob URLs 2019-05-30 22:42:44 +02:00
Robert van Gent b376b2685a deps: Update gocloud.dev to v0.15.0. 2019-05-30 22:07:04 +02:00
Duncan Mackenzie 1a44d8a50a Add configuration information for Azure
Azure static websites are an option for publishing your Hugo site, and this is how you configure the 404 page. More details and instructions linked in the edit to https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
2019-05-30 18:34:15 +02:00
pacollins 5b7c6b5a17 remove google plus 2019-05-30 18:16:45 +02:00
Christian Oliff 5a64301ba9 HTTPS link to yaml.org/spec/ 2019-05-30 18:16:20 +02:00
Anton Harniakou fb007e9ae5 tpl/collections: Convert numeric values to float64 and compare them
Fixes #5685
2019-05-30 11:32:58 +02:00
Bjørn Erik Pedersen 4c560020bc resources: Return nil when not found in resources.Get
Fixes #5999
2019-05-29 22:33:03 +02:00
Bjørn Erik Pedersen d44d3ea898 deps: Update Viper
This will hopefully improve the dependency/install problems we have seen lately.

See #5954
2019-05-28 16:11:09 +02:00
Bruno Amaral 8c81c762a3 Remove references to Google+
According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/6083347?hl=en
2019-05-26 19:24:45 +02:00
Bruno Amaral d1cf53f5f4 Remove references to Google+
According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/6083347?hl=en
2019-05-26 19:24:45 +02:00
Bjørn Erik Pedersen 811ee996a6 Update gitmap to get CommitDate field 2019-05-25 10:43:09 +02:00
Bjørn Erik Pedersen 874685ea27 Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211' 2019-05-25 10:41:51 +02:00
Bjørn Erik Pedersen 4f61a926f6 Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211' 2019-05-25 10:41:51 +02:00
Bjørn Erik Pedersen be04ece859 Squashed 'docs/' changes from 50c02516c..0c3c04fd6
0c3c04fd6 Merge pull request #827 from BCNelson/range-patch
b14dd3505 Updated link to Go Docs to more helpful page
c3d83149a Boolean Values in the Where Function
56d4cea3c hugo-extended no longer the default
e9b15c698 Update index.md
11de98e0d Release 0.55.6
d2def17f4 Merge branch 'release-0.55.6'
115457b70 releaser: Add release notes to /docs for release of 0.55.6
25855690d Fix misspelling
fc5e43db2 Update 404.md with Netlify Instructions
9f684318f Removed mentioning of removed --stepAnalysis command line option
86ba9071c Related md5 and aliases for sha1/sha256
15f48966a Added related sha function into the See Also
5e08b6930 Fix date description
908e87ab2 Revert docs/config.toml changes
c925646cf Add a "deploy" command
e765084dd Update sectionvars.md
e08be4d81 Update sectionvars.md
7c9653cbe Hugo 0.55.5
1035ff028 releaser: Add release notes to /docs for release of 0.55.5
cda21f9d4 docs: Regenerate docs helper

git-subtree-dir: docs
git-subtree-split: 0c3c04fd63
2019-05-25 10:41:23 +02:00
Bradley Nelson 0c3c04fd63 Merge pull request #827 from BCNelson/range-patch
Range patch
2019-05-25 09:19:43 +02:00
Bradley Nelson b14dd35053 Updated link to Go Docs to more helpful page
The text/template page is a better resource for how Hugo templates work as is talks about the tags and what they do.
2019-05-25 09:18:30 +02:00
Ruslan Nasonov 5b4b8bb3c1 commands: Create new 'hugo list all' command
New:
- command `hugo list all`, return all posts meta in csv format

Refactoring:
- move common parts in commands/list.go to function `buildSites`
- change way to detect path to content

See #5904
2019-05-25 00:09:51 +02:00
Brice BERDAH 350bae8747 Medium -> Hugo exporting tool
Suggesting a simple yet powerful tool for people looking to export their Medium blog to Hugo
2019-05-24 15:35:41 +02:00
Brice BERDAH 2278b0eb02 Medium -> Hugo exporting tool
Suggesting a simple yet powerful tool for people looking to export their Medium blog to Hugo
2019-05-24 15:35:41 +02:00
Brian 'Redbeard' Harrington 41974303f3 dockerfile: Switch base image for final build
Switching the base image for the final build to alpine as it still
provides a minimal interface, but has a mechanism for easily including
relevant CA certificates.  This is currently pinned to a tagged version,
though since none of the underlying mechanisms are used this should
balance both remaining stable, supported for a period of time, and
providing usable functionality.

Resolves #5970
Affects #5056
2019-05-23 12:49:13 -06:00
Bradley Nelson c3d83149af Boolean Values in the Where Function
This caused me some trouble should seem oblivious but would have saved me some time. Maybe it will save some others.
2019-05-23 08:27:07 +02:00
yarko 56d4cea3cb hugo-extended no longer the default
It appears hugo-extended is no longer the default build.  I'm on Linux / Ubuntu, so would appreciate if someone check that it is also no longer the default via `brew install` (I assumed the change was consistently throughout, based on github changes).
2019-05-18 20:01:12 +02:00
Bjørn Erik Pedersen e9b15c6980 Update index.md 2019-05-18 10:29:39 +02:00
Bjørn Erik Pedersen 11de98e0d0 Release 0.55.6 2019-05-18 10:25:35 +02:00