Bjørn Erik Pedersen
ffcb4aeb8e
Fix handling of HTML files without front matter
...
This means that any HTML file inside /content will be treated as a regular file.
If you want it processes with shortcodes and a layout, add front matter.
The defintion of an HTML file here is:
* File with extension .htm or .html
* With first non-whitespace character "<" that isn't a HTML comment.
This is in line with the documentation.
Fixes #7030
Fixes #7028
See #6789
2020-03-09 15:01:55 +01:00
satotake
8279d2e227
Support unComparable args of uniq/complement/in
...
Fixes #6105
2020-03-09 13:32:38 +01:00
Sam Smith
c4fa2f0799
tpl: Fix error with unicode in file paths
...
Add url.QueryUnescape before reading file which allows files with
unicode in their paths to be read.
Fixes #6996
2020-03-09 13:31:04 +01:00
Bjørn Erik Pedersen
108314444b
Add HTTP header support for the dev server
...
Fixes #7031
2020-03-08 19:57:30 +01:00
David Jones
51e178a6a2
deploy: Add include and exclude support for remote
2020-03-08 17:35:32 +01:00
hugoreleaser
cb12f41a96
releaser: Prepare repository for 0.67.0-DEV
...
[ci skip]
2020-03-03 15:31:19 +00:00
hugoreleaser
78c3c78fca
releaser: Add release notes to /docs for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
hugoreleaser
713132cd4b
releaser: Bump versions for release of 0.66.0
...
[ci skip]
2020-03-03 15:19:36 +00:00
Bjørn Erik Pedersen
bbaefd7e3e
Update 0.66.0-relnotes.md
2020-03-03 16:10:42 +01:00
hugoreleaser
cc1a718860
releaser: Add release notes for 0.66.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-03-03 14:55:26 +00:00
Bjørn Erik Pedersen
6a34f88dcc
Skip some tests on CircleCI
2020-03-03 15:45:13 +01:00
Carl Johnson
ae383f04c8
{{ in }} should work with html.Template type
...
Fixes #7002
2020-03-03 13:37:42 +01:00
Bjørn Erik Pedersen
ee31e61fb0
docs: Regen CLI docs
2020-03-03 13:36:35 +01:00
Bjørn Erik Pedersen
760a87a45a
commands: Add --all flag to hugo mod clean
2020-03-03 13:29:58 +01:00
Bjørn Erik Pedersen
3d3fa5c3fe
Add build.UseResourceCacheWhen
...
Fixes #6993
2020-03-03 13:29:58 +01:00
Anthony Fok
ee3d02134d
Update dependency list in README.md
...
to include only runtime dependencies,
i.e. what is in the released binary.
2020-03-02 22:51:20 -07:00
Bjørn Erik Pedersen
8947c3fa0b
Fix ref/relref short lookup for pages in sub-folder
...
Fixes #6952
2020-03-02 21:08:28 +01:00
Sam Smith
d7798906d8
tpl: Change error message on missing resource
...
Fixes #6942
2020-03-02 18:46:14 +01:00
Bjørn Erik Pedersen
305ce1c9ec
resources: Add full filename to image when processing fails
...
Fixes #7000
2020-03-02 12:39:26 +01:00
Bjørn Erik Pedersen
3e9db2ad95
hugolib: Fix error handling in page collector
...
Fixes #6988
2020-03-02 11:07:09 +01:00
Anthony Fok
449deb7f9c
Update dependency list in README
2020-03-02 01:10:42 -07:00
Bjørn Erik Pedersen
1746e8a9b2
Fix ref/relRef regression for relative refs from bundles
...
Fixes #6952
2020-02-29 18:32:06 +01:00
Bjørn Erik Pedersen
6f48146e75
identity: Fix potential infinite recursion in server change detection
...
Fixes #6986
2020-02-29 15:12:56 +01:00
Bjørn Erik Pedersen
b0d850321e
Fix rebuild logic when editing template using a base template
...
We have been doing too much work in that case.
Fixes #6968
2020-02-28 14:14:55 +01:00
Bjørn Erik Pedersen
b66d38c419
resources: Add basic @import support to resources.PostCSS
...
This commit also makes the HUGO_ENVIRONMENT environment variable available to Node.
Fixes #6957
Fixes #6961
2020-02-27 11:47:24 +01:00
Robert van Gent
05a74eaec0
deploy: Implement include/exclude filters for deploy
...
Fixes #6922
2020-02-27 07:26:05 +01:00
Bjørn Erik Pedersen
33ae621083
Update to Go 1.14 and 1.13.8
...
Fixes #6958
2020-02-26 17:33:11 +01:00
Joshua Wong
1352bc880d
Add hugo.IsProduction function
...
Fixes #6873
2020-02-25 17:58:07 +01:00
Chris Dennis
d184e5059c
tpl: Add math.Sqrt
...
Fixes #6941
2020-02-24 23:45:04 +01:00
hugoreleaser
322c285ba2
releaser: Prepare repository for 0.66.0-DEV
...
[ci skip]
2020-02-23 10:09:29 +00:00
hugoreleaser
211ba42a95
releaser: Add release notes to /docs for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
hugoreleaser
0ac528d746
releaser: Bump versions for release of 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
hugoreleaser
d8bde266c1
releaser: Add release notes for 0.65.3
...
[ci skip]
2020-02-23 09:58:31 +00:00
Bjørn Erik Pedersen
0bd6356c6d
Fix panic when home page is drafted
...
Fixes #6927
2020-02-23 00:11:10 +01:00
satotake
ca68abf0bc
Fix goldmark toc rendering
...
Previously gordmark-based TOC renderes only `KindText` and `KindString`
This commit expands target node with Goldmark's renderer
I am not sure of what are expected results as TOC contents in some (rare) cases
but Blackfriday's behaviours are fundamentally respected.
For example,
- image `[image text](link)` is rendered as `<img>` tag
- GFM AutoLink `gohugo.io` is rendered as text
* Render AutoLink as <a> tag as Blackfriday does
Fixes #6736
Fixes #6809
2020-02-22 18:06:30 +01:00
Bjørn Erik Pedersen
a524124beb
Fix crashes for 404 in IsAncestor etc.
...
Fixes #6931
2020-02-22 13:36:04 +01:00
hugoreleaser
c1eb625124
releaser: Add release notes to /docs for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
1510f07780
releaser: Bump versions for release of 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
hugoreleaser
aa2ef45421
releaser: Add release notes for 0.65.2
...
[ci skip]
2020-02-21 10:10:11 +00:00
Bjørn Erik Pedersen
76b2afe642
Apply missing go fmt
2020-02-21 10:12:33 +01:00
Bjørn Erik Pedersen
f460530347
Fix panic on no output formats
...
A page needs its output formats even if it should not be rendered or its resources should not be published.
Fixes #6924
2020-02-21 09:41:39 +01:00
Bjørn Erik Pedersen
4c2a0de412
Fix panic in 404.Parent
...
Fixes #6924
2020-02-21 08:14:08 +01:00
hugoreleaser
6be6684cc5
releaser: Add release notes to /docs for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
dbaa15d40f
releaser: Bump versions for release of 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
hugoreleaser
a449e87da7
releaser: Add release notes for 0.65.1
...
[ci skip]
2020-02-20 13:42:26 +00:00
Bjørn Erik Pedersen
7ef5a4c83e
hugolib: Fix 2 Paginator.Pages taxonomy regressions
...
Fixes #6921
Fixes #6918
2020-02-20 14:13:04 +01:00
Bjørn Erik Pedersen
a70bbd0696
hugolib: Fix deletion of orphaned sections
...
Avoid deleting inside the recursive walk.
Fixes #6920
2020-02-20 13:40:16 +01:00
hugoreleaser
24afe2b822
releaser: Add release notes to /docs for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
hugoreleaser
9fd7d3957e
releaser: Bump versions for release of 0.65.0
...
[ci skip]
2020-02-20 08:11:06 +00:00
hugoreleaser
c45025cb90
releaser: Add release notes for 0.65.0
2020-02-20 09:01:06 +01:00