Matthias Van Woensel
d847ccd8b8
More spelling error fixes
...
exemple -> example
2018-07-16 18:19:34 -04:00
Kaushal Modi
bf1405d92b
Correction: .Pages on homepage is same as .Site.RegularPages
...
Ref:
https://github.com/gohugoio/hugoDocs/issues/398#issuecomment-371576088
2018-07-16 17:43:19 -04:00
Kaushal Modi
7efa41ff55
Merge commit 'd137efe0222269e09b427325176f0044558e3cc5'
2018-07-16 17:05:31 -04:00
Kaushal Modi
d137efe022
Squashed 'themes/gohugoioTheme/' changes from f31a3dc8..66249819
...
66249819 Replace .Data.Pages with .Pages
32f73caa Set permission of non-executable files to 0644
69018d07 Update README.md
3b9bc8ee Update README.md
fa34f071 Update eSolia link
89573498 Fix the "edit this page" link
d0704efb Use lang.Merge to "fill in the gaps" for untranslated pages
771ae9fc Merge commit '650fac3a4e7d256f4505402ab44cfc3c804b8dea'
177aab5b Fix "reflect: Zero(nil)" error in showcase
git-subtree-dir: themes/gohugoioTheme
git-subtree-split: 662498195c8ca49e235ced10ae899f1a82804021
2018-07-16 17:05:30 -04:00
Kaushal Modi
50df8bfb83
Replace .Data.Pages with .Pages
2018-07-16 22:58:22 +02:00
Lucas Bickel
1c8896cb1a
Fix addkit link to account for i18n
2018-07-16 21:23:27 +02:00
Lucas Bickel
fd1f4a7860
Fix addkit link to account for i18n
2018-07-16 21:23:27 +02:00
Bjørn Erik Pedersen
4c240800a4
resource/bundler: Improve error message
2018-07-16 10:42:07 +02:00
Garry McNulty
38204c4ab6
hugolib: Only set 'allThemes' if there are themes in the config file
...
When the 'allThemes' configuration setting is read, it will panic if
there are no themes. This was a regression introduced in Hugo 0.42.
Also updated a unit test to check for this.
Fixes #4851
2018-07-15 16:13:48 +02:00
Bjørn Erik Pedersen
2f2bc7ff70
resource/integrity: Remove unused code
2018-07-14 11:17:48 +02:00
Bjørn Erik Pedersen
85d3712d05
Mention the newScratch template func
2018-07-13 19:51:57 +02:00
Bjørn Erik Pedersen
1c234db1b7
Release 0.44
2018-07-13 08:52:42 +02:00
Bjørn Erik Pedersen
a51cb3e36a
Merge branch 'temp44'
2018-07-13 08:44:29 +02:00
Bjørn Erik Pedersen
242b297f57
releaser: Remove flag on Windows build
2018-07-13 08:40:09 +02:00
hugoreleaser
468aef3fc2
releaser: Prepare repository for 0.45-DEV
...
[ci skip]
2018-07-13 06:05:41 +00:00
hugoreleaser
ec424a5e26
releaser: Prepare repository for 0.45-DEV
...
[ci skip]
2018-07-13 06:05:41 +00:00
hugoreleaser
f44c9ab9cd
releaser: Prepare repository for 0.45-DEV
...
[ci skip]
2018-07-13 06:05:41 +00:00
hugoreleaser
c6f4b97a2c
releaser: Add release notes to /docs for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
425e855742
releaser: Add release notes to /docs for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
9f9695cf7b
releaser: Add release notes to /docs for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
d3985afb70
releaser: Bump versions for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
e6f9c65a2a
releaser: Bump versions for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
hugoreleaser
0831d8ccaf
releaser: Bump versions for release of 0.44
...
[ci skip]
2018-07-13 06:03:09 +00:00
Bjørn Erik Pedersen
1d4ff024ca
Finish release notes 0.44
2018-07-13 07:53:33 +02:00
hugoreleaser
521e63ac7c
releaser: Add release notes draft for 0.44
...
Rename to *-ready.md to continue. [ci skip]
2018-07-13 05:27:58 +00:00
Bjørn Erik Pedersen
47d38628ec
resource: Clean up the in-memory Resource reader usage
...
Turns out `strings.Reader` implements both `io.Reader` and `io.Seeker`, so we don't need anything special.
Updates #4936
2018-07-12 21:32:52 +02:00
Bjørn Erik Pedersen
0024dcfe3e
resource: Move opening of the transformed resources after cache check
...
The old version should be functionally the same, but opening up these readers (potentially files) every time is wasteful if we don't read from them.
2018-07-12 19:36:12 +02:00
Bjørn Erik Pedersen
beec1fc98e
resource: Fix resources.Concat for transformed resources
...
Fixes #4936
2018-07-12 19:36:12 +02:00
Bjørn Erik Pedersen
306573def0
Improve type support in resources.Concat
...
This allows the result of `.Resources.Match` and similar to be concatenated.
Fixes #4934
2018-07-12 13:43:27 +02:00
Bjørn Erik Pedersen
80c8f3b81a
hugolib: Fix static filesystem for themed multihost sites
...
Multihost is where each language has its own `baseURL`. In this configuration, static files from the theme was not picked up.
This was a regression in Hugo `0.42`. This commit also adds proper tests for this, so that does not happen again.
Fixes #4929
2018-07-12 12:18:56 +02:00
Donovan Glover
45548a5c98
Arch Linux: Partial upgrades are unsupported
2018-07-11 17:52:03 -04:00
Kaushal Modi
c0430f8f97
Update MenuEntry properties documentation
...
Fixes https://github.com/gohugoio/hugoDocs/issues/423
2018-07-11 17:36:37 -04:00
Kaushal Modi
79109b6858
Refresh the documentation on staticDir config parameter
2018-07-11 17:27:41 -04:00
Kaushal Modi
80ed4592b2
Remove duplicate links; also sort them alphabetically
2018-07-11 16:49:03 -04:00
Christian Oliff
f00a4e232a
HTTPS links to third-party sites
2018-07-11 16:45:08 -04:00
Wong Heung Sang
2f6f682ba2
Fixed a typo
2018-07-11 16:41:35 -04:00
wondratsch
4be1052024
add openbsd howto install
2018-07-11 16:41:15 -04:00
maiki
39808f50ad
Fix typo
2018-07-11 16:39:55 -04:00
Bjørn Erik Pedersen
6b6dcb44a0
Flush partialCached cache on rebuilds
...
Fixes #4931
2018-07-11 20:40:04 +02:00
Bjørn Erik Pedersen
d96f2a460f
resource: Include the transformation step in the error message
...
Fixes #4924
2018-07-11 11:03:15 +02:00
Bjørn Erik Pedersen
b55c0f3a07
Fix URL to hugotest
2018-07-11 00:05:05 +02:00
Bjørn Erik Pedersen
ac53035030
media: Only show deprecation warning when needed
...
Fixes #4927
2018-07-10 23:21:48 +02:00
Bjørn Erik Pedersen
b874a1ba7a
media: Allow multiple file suffixes per media type
...
Before this commit, `Suffix` on `MediaType` was used both to set a custom file suffix and as a way to augment the mediatype definition (what you see after the "+", e.g. "image/svg+xml").
This had its limitations. For one, it was only possible with one file extension per MIME type.
Now you can specify multiple file suffixes using "suffixes", but you need to specify the full MIME type
identifier:
[mediaTypes]
[mediaTypes."image/svg+xml"]
suffixes = ["svg", "abc ]
In most cases, it will be enough to just change:
[mediaTypes]
[mediaTypes."my/custom-mediatype"]
suffix = "txt"
To:
[mediaTypes]
[mediaTypes."my/custom-mediatype"]
suffixes = ["txt"]
Hugo will still respect values set in "suffix" if no value for "suffixes" is provided, but this will be removed in a future release.
Note that you can still get the Media Type's suffix from a template: {{ $mediaType.Suffix }}. But this will now map to the MIME type filename.
Fixes #4920
2018-07-10 22:13:52 +02:00
Anthony Fok
4108705934
hugolib: Remove empty resources/ dir after TestNewSiteDefaultLang
2018-07-10 09:01:54 +02:00
Anthony Fok
9c1e82085e
.gitattributes: Exclude *.svg from CRLF/LF conversion
...
I ran into trouble after importing the Hugo v0.43 release tarball
into the Debian packaging git repository...
2018-07-09 21:06:15 -06:00
Anthony Fok
2b73e89d6d
tpl: Set permission of embedded templates to 0644
2018-07-09 12:57:08 -06:00
Bjørn Erik Pedersen
febf0aec8b
Build a fully static Windows extended binary
2018-07-09 20:42:08 +02:00
Bjørn Erik Pedersen
2fb157237e
Release Hugo 0.43
2018-07-09 13:11:43 +02:00
Bjørn Erik Pedersen
e8af6a9703
Merge branch 'temp43'
2018-07-09 13:03:49 +02:00
Bjørn Erik Pedersen
2c59a330c0
Adjust release notes
...
[ci skip]
2018-07-09 12:11:57 +02:00