hugoreleaser [Sat, 30 Dec 2017 08:25:56 +0000 (08:25 +0000)]
releaser: Add release notes draft for 0.32
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Sat, 30 Dec 2017 08:17:23 +0000 (09:17 +0100)]
Bjørn Erik Pedersen [Sat, 30 Dec 2017 08:15:31 +0000 (09:15 +0100)]
Squashed 'docs/' changes from
3e663efb2..
fc61378a3
fc61378a3 Add Hugo 0.32 related docs
77edf7fd7 commands: Regenerate
af9d25458 Fix Blackfriday's Markdown extension name
1223dd63a Remove roadmap
b8bcb2fb8 Include note to allow hugo write permissions outside home dir
7dbccb936 Fix typo in roadmap
3a38da6f5 Fix spelling
94ebe50ff Merge branch 'master' of github.com:gohugoio/hugoDocs
89376e21d Clarify Hugo Roadmap
03d191fec Mention Reverse function in taxonomy tpl page.
a4ea3402d Fix ref and relref function pages.
b36632b31 Remove non-existing source variable
a638160dc Update Content Organization to match the world
47eb431ca Correct one link in templates/output-formats.md
8bf933629 Spell fix
ce2d48728 Add docs for .AllTranslations
de94b4942 Move sponsor data to theme data
41fe75254 Merge commit '
f463ef99ed2862e4042557e28aece7ca858e1d0a'
f463ef99e Squashed 'themes/gohugoioTheme/' changes from
bc851da9..
75da2f6b
532c65f2a Move sponsor logo to theme
899e2defe Add sponsor logos to home page and footer
3ca53db97 Release 0.31.1
bb9876ce2 Merge branch 'temp0311'
c7c3ee7e5 releaser: Prepare repository for 0.32-DEV
4ac554792 releaser: Add release notes to /docs for release of 0.31.1
52bfb5c15 releaser: Bump versions for release of 0.31.1
cfdc2e4ea Fix output formats example
5746c10c2 More on output format
de2ee0fe0 Improve suffix redefinition example
c9997839e Update gitlab CI submodule management
82d74e306 Add Bootstrap styling to breadcrumb example
c8c9601a8 Use the code shortcode for the breadcrumb example
16be43e7d Clean up formatting in variable definition lists
149c2c157 Add nested section docs
783c3d636 Sync theme
60a220bbd Squashed 'themes/gohugoioTheme/' changes from
6b632895..
bc851da9
4b33a04d0 Fix typo
94cffc43c Fix little typo
a5d4f762f Fix typo
36c5a0b43 Add a note about the 2 in staticDir2
087bd9a9f Add KeyCDN to menu
4ac8aae38 Hugo 0.31 Released
8fdd995e7 releaser: Prepare repository for 0.32-DEV
eb0f38fbb releaser: Add release notes to /docs for release of 0.31
60efdfff7 releaser: Bump versions for release of 0.31
44dafb10b Merge commit '
30c0d485eaff6d70df1be0353911ddca485d52bf'
e6b847b95 Merge commit '
05e42bc643f1840ed2ad9c2eff82a269d1381683'
15d86a525 Handle Taxonomy permalinks
5c3c18d7f Add support for height argument to figure shortcode
git-subtree-dir: docs
git-subtree-split:
fc61378a3227c14883a2942d67c806014e7bb6cb
Bjørn Erik Pedersen [Fri, 29 Dec 2017 09:16:50 +0000 (10:16 +0100)]
hugolib: Add test for homepage content for all rendering engines
Update #4166
Bjørn Erik Pedersen [Fri, 29 Dec 2017 08:52:43 +0000 (09:52 +0100)]
tpl/transform: Do not unescape input to highlight
Fixes #4179
Bjørn Erik Pedersen [Fri, 29 Dec 2017 08:37:37 +0000 (09:37 +0100)]
commands: Make sure all language homes are always re-rendered in fast render mode
Fixes #4125
Bjørn Erik Pedersen [Fri, 29 Dec 2017 07:58:38 +0000 (08:58 +0100)]
hugolib: Do not tolower result from Page.GetParam
We still do lowering of the param strings in some internal use of this, but the exported `GetParam` method is changed to a more sensible default.
This was used for the `disqus_title` etc. in the internal Disqus template, which was obviously not right.
If you really want to lowercase your params, do it with `.GetParam "myparam" | lower` or similar.
Fixes #4187
Bjørn Erik Pedersen [Thu, 28 Dec 2017 21:56:48 +0000 (22:56 +0100)]
resource: Avoid potential case issue in image names
Bjørn Erik Pedersen [Thu, 28 Dec 2017 21:52:27 +0000 (22:52 +0100)]
helpers: Avoid writing the last MD5 buff part twice
Bjørn Erik Pedersen [Wed, 27 Dec 2017 18:31:42 +0000 (19:31 +0100)]
resource: Use MD5 to identify image files
But only a set of byte chunks spread around in the image file to calculate the fingerprint, which is much faster than reading the whole file:
```bash
BenchmarkMD5FromFileFast/full=false-4 300000 4356 ns/op 240 B/op 5 allocs/op
BenchmarkMD5FromFileFast/full=true-4 30000 42899 ns/op 32944 B/op 5 allocs/op
```
Fixes #4186
Bjørn Erik Pedersen [Thu, 28 Dec 2017 12:54:23 +0000 (13:54 +0100)]
source: Fix test on Windows
Bjørn Erik Pedersen [Thu, 28 Dec 2017 10:32:02 +0000 (11:32 +0100)]
source: Make sure .File.Dir() ends with a slash
Updates #4190
Bjørn Erik Pedersen [Mon, 24 Jul 2017 07:00:23 +0000 (09:00 +0200)]
:sparkles: Implement Page bundling and image handling
This commit is not the smallest in Hugo's history.
Some hightlights include:
* Page bundles (for complete articles, keeping images and content together etc.).
* Bundled images can be processed in as many versions/sizes as you need with the three methods `Resize`, `Fill` and `Fit`.
* Processed images are cached inside `resources/_gen/images` (default) in your project.
* Symbolic links (both files and dirs) are now allowed anywhere inside /content
* A new table based build summary
* The "Total in nn ms" now reports the total including the handling of the files inside /static. So if it now reports more than you're used to, it is just **more real** and probably faster than before (see below).
A site building benchmark run compared to `v0.31.1` shows that this should be slightly faster and use less memory:
```bash
▶ ./benchSite.sh "TOML,num_langs=.*,num_root_sections=5,num_pages=(500|1000),tags_per_page=5,shortcodes,render"
benchmark old ns/op new ns/op delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4
101785785 78067944 -23.30%
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
185481057 149159919 -19.58%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4
103149918 85679409 -16.94%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
203515478 169208775 -16.86%
benchmark old allocs new allocs delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4 532464 391539 -26.47%
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
1056549 772702 -26.87%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4 555974 406630 -26.86%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
1086545 789922 -27.30%
benchmark old bytes new bytes delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4
53243246 43598155 -18.12%
BenchmarkSiteBuilding/TOML,num_langs=1,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
105811617 86087116 -18.64%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=500,tags_per_page=5,shortcodes,render-4
54558852 44545097 -18.35%
BenchmarkSiteBuilding/TOML,num_langs=3,num_root_sections=5,num_pages=1000,tags_per_page=5,shortcodes,render-4
106903858 86978413 -18.64%
```
Fixes #3651
Closes #3158
Fixes #1014
Closes #2021
Fixes #1240
Updates #3757
Bjørn Erik Pedersen [Sun, 17 Dec 2017 17:06:55 +0000 (18:06 +0100)]
tpl/strings: Fix broken test
Victor Kropp [Fri, 13 Oct 2017 20:57:52 +0000 (22:57 +0200)]
Make chomp return the type it receives
fixes #2187
Bjørn Erik Pedersen [Sat, 16 Dec 2017 17:56:58 +0000 (18:56 +0100)]
Reuse the BlackFriday instance when possible
This is in heavy use in rendering, so this makes a difference:
```bash
benchmark old ns/op new ns/op delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4
124551144 107743429 -13.49%
benchmark old allocs new allocs delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4 528684 435118 -17.70%
benchmark old bytes new bytes delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4
53306848 45147832 -15.31%
```
Ivan Vyshnevskyi [Sat, 16 Dec 2017 15:41:52 +0000 (17:41 +0200)]
livereload: Fix host comparison when ports aren't present
Compare the original hosts from 'Origin' and 'Host' headers before
attempting to do a port-less comparison. This helps in the case when
hugo server was started with a '--port=80' so both headers do not
contain a port.
Fixes #4141
Richard Metzler [Fri, 15 Dec 2017 17:49:21 +0000 (18:49 +0100)]
Add .Title and .Page to MenuEntry
It uses `title` if configured on the menu entry. If not, it uses the `Page.Title` when possible.
Fixes #2784
Bjørn Erik Pedersen [Thu, 7 Dec 2017 20:46:46 +0000 (21:46 +0100)]
Remove the goroutines from the shortcode lexer
It was clever, but storing the items in a slice is faster -- and it gives room to more goroutines in other places.
```bash
benchmark old ns/op new ns/op delta
BenchmarkShortcodeLexer-4 180173 79614 -55.81%
benchmark old allocs new allocs delta
BenchmarkShortcodeLexer-4 309 328 +6.15%
benchmark old bytes new bytes delta
BenchmarkShortcodeLexer-4 35456 47008 +32.58%
```
Bjørn Erik Pedersen [Thu, 7 Dec 2017 21:38:54 +0000 (22:38 +0100)]
mage: Do not run Go Fmt check on Go tip
Bjørn Erik Pedersen [Wed, 6 Dec 2017 13:03:04 +0000 (14:03 +0100)]
Adjust the stale setup
Bjørn Erik Pedersen [Wed, 6 Dec 2017 09:03:25 +0000 (10:03 +0100)]
Add Github stale bot config
Bjørn Erik Pedersen [Tue, 5 Dec 2017 15:17:11 +0000 (16:17 +0100)]
Use StopTimer in site benchmarks
Bjørn Erik Pedersen [Sat, 2 Dec 2017 11:05:12 +0000 (12:05 +0100)]
Add output formats definition to benchmarks
Bjørn Erik Pedersen [Sat, 2 Dec 2017 10:44:18 +0000 (11:44 +0100)]
Improve site benchmarks
Christian Nolte [Fri, 1 Dec 2017 10:17:46 +0000 (11:17 +0100)]
Fix context of opengraph video range
Fixes #4136
Brian Chen [Thu, 30 Nov 2017 11:15:52 +0000 (06:15 -0500)]
Add Pandoc support, refactor external helpers
Recognize the Pandoc format under the file extension .pandoc or .pdc,
and shell out to pandoc as an external helper to format Pandoc content.
Refactor out repeated code with external helpers. Change the error
output formatting. I did not see any of the external helpers print the
string "<input>" to represent stdin as a file; just prepending the file
name to error output is more general and doesn't sacrifice that much in
terms of readability.
Closes #234
Bjørn Erik Pedersen [Tue, 28 Nov 2017 20:16:01 +0000 (21:16 +0100)]
vendor: Fix Humanize for multi-byte runes
Fixes #4133
Bjørn Erik Pedersen [Mon, 27 Nov 2017 16:16:42 +0000 (17:16 +0100)]
vendor: Update Chroma to v0.2.0
Closes #4087
Chase Adams [Sun, 26 Nov 2017 23:09:46 +0000 (15:09 -0800)]
vendor: update goorgeous@v1.1.0
hugoreleaser [Mon, 27 Nov 2017 11:27:33 +0000 (11:27 +0000)]
releaser: Prepare repository for 0.32-DEV
[ci skip]
hugoreleaser [Mon, 27 Nov 2017 11:26:08 +0000 (11:26 +0000)]
releaser: Add release notes to /docs for release of 0.31.1
[ci skip]
hugoreleaser [Mon, 27 Nov 2017 11:26:08 +0000 (11:26 +0000)]
releaser: Bump versions for release of 0.31.1
[ci skip]
Bjørn Erik Pedersen [Mon, 27 Nov 2017 11:18:44 +0000 (12:18 +0100)]
Release 0.31.1
hugoreleaser [Mon, 27 Nov 2017 10:33:13 +0000 (10:33 +0000)]
releaser: Add release notes draft for 0.31.1
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Sat, 25 Nov 2017 17:37:48 +0000 (18:37 +0100)]
tpl/images: Close image file
Bjørn Erik Pedersen [Fri, 24 Nov 2017 07:43:09 +0000 (08:43 +0100)]
commands: Fix broken --appendPort=false
Also make sure to log the correct server URL to the console.
Fixes #4111
hugoreleaser [Mon, 20 Nov 2017 10:30:09 +0000 (10:30 +0000)]
releaser: Prepare repository for 0.32-DEV
[ci skip]
hugoreleaser [Mon, 20 Nov 2017 10:28:21 +0000 (10:28 +0000)]
releaser: Add release notes to /docs for release of 0.31
[ci skip]
hugoreleaser [Mon, 20 Nov 2017 10:28:21 +0000 (10:28 +0000)]
releaser: Bump versions for release of 0.31
[ci skip]
Bjørn Erik Pedersen [Mon, 20 Nov 2017 10:24:19 +0000 (11:24 +0100)]
Release 0.31
hugoreleaser [Sat, 18 Nov 2017 14:33:17 +0000 (14:33 +0000)]
releaser: Add release notes draft for 0.31
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Mon, 20 Nov 2017 10:19:16 +0000 (11:19 +0100)]
Squashed 'docs/' changes from
a042b67b5..
3e663efb2
3e663efb2 Add poster for Hugo 0.31 release
b3c98ba65 Add doc about the new static dir support
2e62e4bdf Update multilingual docs for Hugo 0.31
8eff394b3 commands: Regenerate
git-subtree-dir: docs
git-subtree-split:
3e663efb2b149e243b6ecfdc439a2a2be573987f
Bjørn Erik Pedersen [Mon, 20 Nov 2017 10:19:16 +0000 (11:19 +0100)]
Bjørn Erik Pedersen [Mon, 20 Nov 2017 09:34:30 +0000 (10:34 +0100)]
hugolib: Make sure everything ends up in its lang root in multihost mode
Fixes #4105
Bjørn Erik Pedersen [Sun, 19 Nov 2017 14:44:20 +0000 (15:44 +0100)]
helpers: Properly handle []interface{} as staticDir
And now with a proper integration test ...
Bjørn Erik Pedersen [Sun, 19 Nov 2017 13:35:49 +0000 (14:35 +0100)]
source: Enable disabled test
Bjørn Erik Pedersen [Sun, 19 Nov 2017 12:47:36 +0000 (13:47 +0100)]
helpers: Remove (now) unused GetStaticDir
* In Hugo there is no single static dir
* It was used as a filter in the content dir, which makes no sense since any overlap here is impossible
Bjørn Erik Pedersen [Sat, 18 Nov 2017 09:54:07 +0000 (10:54 +0100)]
livereload: Fix recently broken window.location.reload logic
Closes #4100
Bjørn Erik Pedersen [Sat, 18 Nov 2017 09:18:41 +0000 (10:18 +0100)]
Fix broken shortcodes for Ace and Amber
Fixes #4051
Bjørn Erik Pedersen [Fri, 17 Nov 2017 15:28:35 +0000 (16:28 +0100)]
hugolib: Fix .IsTranslated with identical filenames
This commit refines the key used to map translations:
* Use `translationKey` set in front matter
* Fall back to path + base filename (i.e. the filename without extension and language code)
Note that the Page Kinde will be prepended to both cases above. It does not make sense to have a section as translation for the home page.
Fixes #2699
Bjørn Erik Pedersen [Fri, 17 Nov 2017 12:48:33 +0000 (13:48 +0100)]
Bjørn Erik Pedersen [Fri, 17 Nov 2017 12:46:40 +0000 (13:46 +0100)]
Squashed 'docs/' changes from
e65df1059..
a042b67b5
a042b67b5 Update installation instructions for Fedora, CentOS, Red Hat
e99dcb0b5 Document `:sections` placeholder for permalinks
f33c88a27 Fix and clarify documentation about Blackfriday extensions (mask)
5cab109c2 Add .Page.File documentation
62df7bb80 Add .Page.CurrentSection and .Page.Sections documentation
60b4414de Add .Page.Dir documentation
22038d1a8 shortcode-templates.md: Update year example
850d5ca41 Add note about theme versions in hosting-on-netlify.md
0509b8055 Update permalink example URL
c68d61d3a Mention the available 'width' argument in 'figure' shortcode
ed83b483a Update Nanobox deployment tutorial
a7422f35d shortcode-templates.md: Remove stray period
af2905fe4 Fix order of releases in news section
19d3ea064 Bump to 0.30.2
bbfa10343 Merge branch 'next'
36ed7cbe4 releaser: Prepare repository for 0.31-DEV
f689770f6 releaser: Add release notes to /docs for release of 0.30.2
0045e712a releaser: Bump versions for release of 0.30.2
a9efc3bbd Add slug to 0.30.1 relnotes
9cf47a4a1 Release 0.30.1
1fa0bb23d releaser: Prepare repository for 0.31-DEV
5582208b6 releaser: Add release notes to /docs for release of 0.30.1
09693d155 releaser: Bump versions for release of 0.30.1
58adf5d0d Merge commit '
325009c3fd4ac90021897b7e3e025c14e70ce162'
4ef5dcb9b releaser: Prepare repository for 0.31-DEV
02938a788 releaser: Add release notes to /docs for release of 0.30.1
7cfd01fc6 releaser: Bump versions for release of 0.30.1
db3a68e24 Fix typo
95a5d8b46 Fix format of summaryLength in TOML example config
2ad649a92 Make terms in taxonomy examples more coherent
1fac1e662 Make a link specifically point to Pygments HTML Formatter docs
11ae6be03 Fix minor typos in v0.30 release notes
git-subtree-dir: docs
git-subtree-split:
a042b67b5b8834ee8292849708cba724f5d6644e
Bjørn Erik Pedersen [Fri, 17 Nov 2017 11:27:50 +0000 (12:27 +0100)]
output: Fall back to unstranslated base template
Fixes #3893
Bjørn Erik Pedersen [Sun, 12 Nov 2017 09:03:56 +0000 (10:03 +0100)]
Add support for multiple staticDirs
This commit adds support for multiple statDirs both on the global and language level.
A simple `config.toml` example:
```bash
staticDir = ["static1", "static2"]
[languages]
[languages.no]
staticDir = ["staticDir_override", "static_no"]
baseURL = "https://example.no"
languageName = "Norsk"
weight = 1
title = "På norsk"
[languages.en]
staticDir2 = "static_en"
baseURL = "https://example.com"
languageName = "English"
weight = 2
title = "In English"
```
In the above, with no theme used:
the English site will get its static files as a union of "static1", "static2" and "static_en". On file duplicates, the right-most version will win.
the Norwegian site will get its static files as a union of "staticDir_override" and "static_no".
This commit also concludes the Multihost support in #4027.
Fixes #36
Closes #4027
Bjørn Erik Pedersen [Thu, 2 Nov 2017 07:25:20 +0000 (08:25 +0100)]
Add multilingual multihost support
This commit adds multihost support when more than one language is configured and `baseURL` is set per language.
Updates #4027
Bjørn Erik Pedersen [Thu, 16 Nov 2017 10:59:45 +0000 (11:59 +0100)]
tpl/partials: Fix the lock contention in cached partial
Fixes #4086
Bjørn Erik Pedersen [Thu, 16 Nov 2017 07:30:51 +0000 (08:30 +0100)]
gopkg: Update Chroma to get SVG support
Bjørn Erik Pedersen [Thu, 16 Nov 2017 00:23:37 +0000 (01:23 +0100)]
tpl/partials: Fix cache locking
To make sure a cached partial is ony executed exactly once.
Performance same:
```bash
name old time/op new time/op delta
TemplateParamsKeysToLower-4 17.2µs ± 0% 16.5µs ± 0% ~ (p=1.000 n=1+1)
Partial-4 18.6µs ± 0% 19.4µs ± 0% ~ (p=1.000 n=1+1)
PartialCached-4 64.2ns ± 0% 63.7ns ± 0% ~ (p=1.000 n=1+1)
name old alloc/op new alloc/op delta
TemplateParamsKeysToLower-4 2.66kB ± 0% 2.66kB ± 0% ~ (all equal)
Partial-4 1.31kB ± 0% 1.31kB ± 0% ~ (all equal)
PartialCached-4 0.00B 0.00B ~ (all equal)
name old allocs/op new allocs/op delta
TemplateParamsKeysToLower-4 92.0 ± 0% 92.0 ± 0% ~ (all equal)
Partial-4 41.0 ± 0% 41.0 ± 0% ~ (all equal)
```
Bjørn Erik Pedersen [Thu, 16 Nov 2017 00:13:07 +0000 (01:13 +0100)]
tplimpl: Make partial benchmarks use RunParallel
See #4086
Bjørn Erik Pedersen [Wed, 15 Nov 2017 07:52:29 +0000 (08:52 +0100)]
Use ms precision for static change logging
Bjørn Erik Pedersen [Sat, 11 Nov 2017 08:46:35 +0000 (09:46 +0100)]
circleci: Bump to Go 1.9.2
Closes #4064
Bjørn Erik Pedersen [Sat, 11 Nov 2017 08:39:43 +0000 (09:39 +0100)]
hugolib: Pre-allocate some slices
Bjørn Erik Pedersen [Thu, 9 Nov 2017 13:15:12 +0000 (14:15 +0100)]
Update Chroma to get the latest SASS lexer
Fixes #4069
Bjørn Erik Pedersen [Tue, 7 Nov 2017 23:37:59 +0000 (00:37 +0100)]
Update Travis and snapcraft to Go 1.9.2
See #4064
Bjørn Erik Pedersen [Tue, 7 Nov 2017 22:42:47 +0000 (23:42 +0100)]
hugolib: Add some more taxonomy permalinks test cases
See #1208
Brian Chen [Tue, 7 Nov 2017 03:58:41 +0000 (22:58 -0500)]
Handle Taxonomy permalinks
Return the correct virtual Section for Taxonomy and TaxonomyTerm.
Restrict permalink expansion to only Pages and Taxonomies, but then
actually use expanded permalinks even for non-Pages.
Fixes #1208.
Bjørn Erik Pedersen [Mon, 6 Nov 2017 08:33:24 +0000 (09:33 +0100)]
i18n: Support unknown language codes
Fixes #3564
Bjørn Erik Pedersen [Mon, 6 Nov 2017 08:10:56 +0000 (09:10 +0100)]
gopkg: Bump go-i18n version
See #3564
Bjørn Erik Pedersen [Sun, 5 Nov 2017 09:20:39 +0000 (10:20 +0100)]
Revert "i18n: Allow custom language codes"
This reverts commit
bb04010cbfd92837685f98c3e0f5362ba00ce487.
Bjørn Erik Pedersen [Sun, 5 Nov 2017 09:20:30 +0000 (10:20 +0100)]
Revert "i18n: Prevent data race in lang code handling"
This reverts commit
c97216e4f0f3021b12cd3803e512393be569c886.
Bjørn Erik Pedersen [Sat, 4 Nov 2017 08:43:35 +0000 (09:43 +0100)]
i18n: Prevent data race in lang code handling
See #3564
Kevin Gimbel [Sun, 15 Oct 2017 10:35:25 +0000 (12:35 +0200)]
i18n: Allow custom language codes
Use the new `RegisterPluralSpec` function to register all defined
languages. This allows the usage of language identifiers which are not
part of the Unicode CLDR standard.
Closes #3564
Artem Sidorenko [Mon, 30 Oct 2017 17:24:51 +0000 (18:24 +0100)]
tpl/math: Refactor Mod with cast
It makes the code smaller
Kaushal Modi [Fri, 27 Oct 2017 15:37:54 +0000 (11:37 -0400)]
Add support for height argument to figure shortcode
Fixes #4014
Rizky Agung [Sat, 28 Oct 2017 10:57:15 +0000 (17:57 +0700)]
Add linebreak to README.md for better readability
Kaushal Modi [Mon, 23 Oct 2017 18:30:38 +0000 (14:30 -0400)]
Update toml dependency revision in Gopkg.lock too
Part 2 of
https://github.com/gohugoio/hugo/commit/
c61998d3ac2e9c2756ba72d2e7381638cbe01a1f
Related: #3998
Kaushal Modi [Mon, 23 Oct 2017 17:05:38 +0000 (13:05 -0400)]
Update toml dep to fetch its latest master branch instead of v0.3.0
toml v0.3.0 was released in March 2017 and is missing few fixes made in toml
package after the fact. So use the master branch instead.
This fixes a regression when switch was made from govendor vendor.json dep
management to Go dep.
Fixes #3998
Bjørn Erik Pedersen [Mon, 23 Oct 2017 11:37:59 +0000 (13:37 +0200)]
vendor: Lock mage to v1
Dep insists on adding a dependency for it, so we might as well lock it to the correct version.
Fixes #3997
Bjørn Erik Pedersen [Sat, 21 Oct 2017 16:44:49 +0000 (18:44 +0200)]
mage: Skip Check on Go 1.8
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 15:43:47 +0000 (17:43 +0200)]
Gopk.toml cleanup
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 14:41:45 +0000 (16:41 +0200)]
Update Dockerfile and Snap build to reflect move to dep
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 14:34:02 +0000 (16:34 +0200)]
Update CONTRIBUTING to reflect Go Dep
Closes #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 14:19:04 +0000 (16:19 +0200)]
Update magefile to use Go Dep
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 13:54:07 +0000 (15:54 +0200)]
Adjust some deps versions
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 11:54:20 +0000 (13:54 +0200)]
Run dep init
See #3988
Bjørn Erik Pedersen [Sat, 21 Oct 2017 11:49:50 +0000 (13:49 +0200)]
vendor: Remove to prepare for dep
See #3988
Nate Finch [Sat, 21 Oct 2017 15:37:00 +0000 (11:37 -0400)]
Fix error handling in mage build
* print gofmt errors
* don't error on lint failures
* explanatory comments and fix an error text
hugoreleaser [Thu, 19 Oct 2017 11:35:38 +0000 (11:35 +0000)]
releaser: Prepare repository for 0.31-DEV
[ci skip]
hugoreleaser [Thu, 19 Oct 2017 11:34:09 +0000 (11:34 +0000)]
releaser: Add release notes to /docs for release of 0.30.2
[ci skip]
hugoreleaser [Thu, 19 Oct 2017 11:34:09 +0000 (11:34 +0000)]
releaser: Bump versions for release of 0.30.2
[ci skip]
Bjørn Erik Pedersen [Thu, 19 Oct 2017 11:30:39 +0000 (13:30 +0200)]
0.30.2 Release
hugoreleaser [Thu, 19 Oct 2017 11:28:20 +0000 (11:28 +0000)]
releaser: Add release notes draft for 0.30.2
Rename to *-ready.md to continue. [ci skip]
Bjørn Erik Pedersen [Thu, 19 Oct 2017 10:34:03 +0000 (12:34 +0200)]
releaser: Improve release notes front matter
Bjørn Erik Pedersen [Thu, 19 Oct 2017 08:09:04 +0000 (10:09 +0200)]
commands: Support Fast Render mode with sub-path in baseURL
Fixes #3981
Bjørn Erik Pedersen [Thu, 19 Oct 2017 05:59:48 +0000 (07:59 +0200)]
Bjørn Erik Pedersen [Thu, 19 Oct 2017 05:58:46 +0000 (07:58 +0200)]
Squashed 'docs/' changes from
4628b9ec2..
e65df1059
e65df1059 Bump to v0.30
e9e118730 releaser: Prepare repository for 0.31-DEV
e6f2508d4 releaser: Add release notes to /docs for release of 0.30
9c5d6a65b releaser: Bump versions for release of 0.30
88bf0e663 Merge commit '
ecf5e081b5540e69f4af330233f39a07baf53846'
6c7191331 Merge commit '
dae5a7c61cceeb0de59f2d755f63e453f71dd9b2'
efd1821bd tpl: Add errorf template function
0cf8dc046 Change SummaryLength to be configurable (#3924)
9e8c09652 tpl: Add os.fileExists template function
e969cfcd7 Merge commit '
9d68f695e782c6a83c77aff13317c7a22c694c98'
1a2d516a0 tpl: Add float template function
5310162dc releaser: Prepare repository for 0.30-DEV
648fdf2d0 releaser: Add release notes to /docs for release of 0.29
b2f46992c releaser: Bump versions for release of 0.29
ec447e043 releaser: Prepare repository for 0.29-DEV
9f469e93a releaser: Add release notes to /docs for release of 0.28
c91c18ebc releaser: Bump versions for release of 0.28
253d2ede2 Merge commit '
61c27b58b353c73772aae572c7d822fdfdf7791b'
e35b93cc7 Merge commit '
30694a133a88d5f76a51d0372646e10cbeca7691'
9fad59f66 Merge commit '
7a89dce53bfbd67a17442a8f9be8fa895fc4f9b1'
4221c2855 Merge commit '
ba45da9d03056447e4873de13d4e0f8d658a769b'
0010b6743 releaser: Prepare repository for 0.28-DEV
9e71765cd releaser: Add release notes to /docs for release of 0.27.1
56206b90d releaser: Bump versions for release of 0.27.1
59522fca0 releaser: Prepare repository for 0.28-DEV
4686686d2 releaser: Add release notes to /docs for release of 0.27
0cd9a5d58 releaser: Bump versions for release of 0.27
d21a59d2d docs: Merge commit '
1b4319be62ba071f79e90ef32dbe92eb893429f7'
9c4ff2d8e docs: Document Related Content
887fb1af7 docs: Merge commit '
7d63a23b0c68d9cd7c7c09c2755619237bc03485'
c8163b51b Update docs versiona and README
f782c9959 Merge commit '
ec4e6f9df2ab9ffdc62a3f59675369096e0d3f77' as 'docs'
d384c661f docs: Re-integrate
9a2eb0f1d Revert "Squashed 'docs/' changes from
35abbc86..
f887bd7b"
0373e4310 Squashed 'docs/' changes from
35abbc86..
f887bd7b
ea2cc26b3 Remove the theme submodule from /docs
0f9f73cce Add support for multiple config files via --config a.toml,b.toml,c.toml
c8257f8b7 Render task list item inside label for correct accessibility
0abdeeef6 source: Normalize UniqueID between Windows & Linux
e2f8664ef hugolib: More spelling
46ac74537 all: Fix spelling
4b54fb070 all: gofmt -s
40d7d3baa releaser: Prepare repository for 0.27-DEV
f090c2711 releaser: Add release notes to /docs for release of 0.26
b36f6e31e releaser: Bump versions for release of 0.26
0f51e4926 releaser: Add release notes draft for 0.26
62583db50 vendor: Update checksum for inflect
0d495d537 releaser: Update to new release notes location
22b213b1a Merge commit '
e81208265bb3cdb7606d051a23d83aeebcb7d34d'
e81208265 Squashed 'docs/' changes from
ef02e34e..
35abbc86
11e5d456e releaser: Include stats from hugoDocs
f768c27f0 helpers: Remove some unused funcs
81c13171a Add some missing doc comments
9891c0fb0 Remove sourceRelativeLinks
481924b34 helpers: Fix broken TaskList in Markdown
09907d36a Switch from fork bep/inflect to markbates/inflect
8fb594bfb Make the title case style guide configurable
9b4170ce7 Remove unused dependencies from vendor.json
6acbe41f0 media: Add missing JSON tags to Type
e321306c6 media: Add JSON tags to Type
9c1977872 output: Add JSON tags to Format
50ec65fbe Squashed 'docs/' changes from
73f355ce..
ef02e34e
1c18f3fc4 Merge commit '
50ec65fbe1a48475d3320775dab2c47389c02114'
cb9dfc261 helpers: Add support for French Guillemets
c4a0b6e8a vendor: Add support for French Guillemets
a8080c084 Remove CODEOWNERS
84710eb3e Add -u flag for go get govendor in CONTRIBUTING.md
555a9bc80 tpl: Accommodate gccgo in TestMethodToName
55d0b8941 tpl/collections: Fix intersect on []interface{} handling
aee2b0678 Add --debug option to be improved on over time
c1a5da977 vendor: Update dependencies for 0.26-DEV
9ed48c1c9 Dockerfile: Run go install with -ldflags '-s -w'
bfe0bfbbd Dockerfile: Reduce image size from 277MB to 27MB
606d6a8c9 Dockerfile: Optimize Docker image size
12e049520 docs: Add RSS template lookup example
6cd33f695 tpl: Use hash for cache key
dbe63970e hugolib: Support reflinks starting with a slash
0c90e6d71 Change "hugodocs" to "hugoDocs" to match GitHub's default URL
b60aa1a50 helpers: Add --trace to asciidoctor args
ff433f981 Add script to pull in docs changes
2c0d1ccdc Squashed 'docs/' changes from
b0470688..
73f355ce
f387cb1b3 doc: Merge commit '
2c0d1ccdcd95de0bddeb39dca2e4d08f0d8056d7'
40566ec98 Remove ^M from file to make line-endings consistent
7759a98f7 Clarify the repo choice in the contribution guidelines
720786cd3 Add note about doc-related pull requests in contribution guide
214e16eca appveyor: Update submodules
a2fb8150c Add some README info about the docs repo
73273d4e8 Add the docs theme to .gitmodules
4c220c4ac Merge commit '
6dbde8d731f221b027c0c60b772ba82dad759943'
6dbde8d73 Squashed 'docs/' changes from
f3c88b08..
b0470688
deccc5400 hubolib: Add HasShortcode
00b590d7a Improve the twitter card template
ea5e9e346 Add GOEXE to support building with different versions of `go`
61bb3ccab hugolib: Improve panic handling in layout rendering
794ea21e9 hugolib: Make template panics into nice error messages
91f410ea9 Bump versions to 0.26-DEV
0e25f1e96 Revert "Revert "vendor: Update dependencies for 0.26-DEV""
aded65b71 releaser: Prepare repository for 0.25-DEV
bbd33dbf5 releaser: Add release notes to /docs for release of 0.25.1
0e09be7b3 releaser: Bump versions for release of 0.25.1
195f94575 releaser: Ignore openbsd/arm
44b8f740e releaser: Add release notes draft for 0.25.1
a48e13234 Revert "vendor: Update dependencies for 0.26-DEV"
7f82b41a2 parser: Final (!) fix for issue with escaped JSON front matter
84db6c74a parser: Fix issue with escaped JSON front matter
e0cf2e05b tpl/collections: Add some empty slice tests to intersect
dbbc5c481 tpl/collections: Fix union when the first slice is empty
7bcc1ce65 commands: Navigate to changed on CREATE When working with content from IntelliJ IDE, like WebStorm, every file save is followed by two events: "RENAME" and then "CREATE".
fd41e70cf Add first draft of CODEOWNERS
4ec8ee7fb vendor: Update dependencies for 0.26-DEV
1e19a9845 releaser: Prepare repository for 0.26-DEV
6fb556367 releaser: Add release notes to /docs for release of 0.25
51bcd5083 releaser: Fix tag push
6e086e3d0 releaser: Bump versions for release of 0.25
5895e32b0 releaser: Add release notes draft for 0.25
b2dcd867f Revert "vendor: Update dependencies"
d2c24baaf vendor: Update dependencies
4989950d4 releaser: Use real theme count in template
a358b33f2 docs: Regenerate the docs helpers
a392fca96 docs: Regenerate commands doc
75f782f03 Revert "commands: Adjust docs path"
37c69054e Squashed 'docs/' changes from
5d9a6703..
f3c88b08
e00f5c9c0 docs: Merge docs commit '
37c69054e294bf554be03cf7e4c01e1f586e6943'
477684022 releaser: Adjustments
70d8ddcb6 releaser: Revise the docs handling to match new subtree
5f831a622 releaser: Replace the magic version handling
e7a54e7af releaser: Add --try flag to ease testing
aa6b1b9be output: Support templates per site/language
a1d260b41 hugolib: Extend the sections API
dd9b1baab hugolib: Make .Site.Sections return the top level sections
1039356ed commands: Support human-readable YAML boolean values in undraft
ccdd08d57 tpl/collections: Add Pages support to Intersect and Union
d12cf5a25 tpl/collections: Fix In function for JSON arrays
e10e51a00 parser: Fix handling of JSON front matter with escaped quotes
34c566773 tpl/math: Add log function
41805dca9 hugolib: Render 404.html for all languages
7ee1f25e9 hugo import jekyll support nested _posts directories
3aa0e16d0 cache: Add even more concurrency to test
b3c8056de cache: Add concurrent cache test
fe132e1c3 vendor: Add missing WebP dependencies
8431c8d39 tpl: Add WebP images support
da72805a4 tpl: Only show post's own keywords in schema.org
72fd87171 hugolib: Add more summary test
118f8f7cf Dockerfile: Update Dockerfile and add Docker optimizations
56d82aa02 hugofs: Fix typo in code comment
eccb06478 tpl: Simplify the Disqus template a little bit (#3655)
2e1e4934b tpl: Improve the built-in Disqus template (#3639)
a54404968 helpers: Add Blackfriday 'joinLines' extension support (#3574)
bfce30d85 helpers: add --initial-header-level=2 to rst2html (#3528)
30e14cc31 Make `--navigateToChanged` more robust on Windows
c825a7312 Support open "current content page" in browser
7198ea8a1 Revert "Remove docs building from CI builds"
dd78d5b23 Squashed 'docs/' content from commit
5d9a6703
a7765bb3c Merge commit '
dd78d5b23fe597f4461aa4199401b4e07c0612e2' as 'docs'
git-subtree-dir: docs
git-subtree-split:
e65df1059549d951a45853576374be4088ded1d3
hugoreleaser [Thu, 19 Oct 2017 05:43:34 +0000 (05:43 +0000)]
releaser: Prepare repository for 0.31-DEV
[ci skip]
hugoreleaser [Thu, 19 Oct 2017 05:41:50 +0000 (05:41 +0000)]
releaser: Add release notes to /docs for release of 0.30.1
[ci skip]
hugoreleaser [Thu, 19 Oct 2017 05:41:50 +0000 (05:41 +0000)]
releaser: Bump versions for release of 0.30.1
[ci skip]