Ariel Rokem
b8a73a6981
Fixes typo
...
Repeats https://github.com/gohugoio/hugo/pull/6278
2019-09-01 11:00:47 +02:00
Bjørn Erik Pedersen
20bdc69a47
resources: Remove unused map type
2019-08-31 21:30:13 +02:00
Bjørn Erik Pedersen
28143397d6
Add image.Exif
...
Note that we will probably need to add some metadata cache for this to scale.
Fixes #4600
2019-08-31 19:04:56 +02:00
Niklas Fasching
8a8d4a6d97
deps: Update go-org (fix descriptive lists)
...
</dt> and </dd> closing tags were broken, see
https://github.com/niklasfasching/go-org/pull/9
2019-08-31 15:03:12 +02:00
Jan Klass
25b2c481af
Fix typo
2019-08-31 01:09:39 +02:00
Jace
09af197dbb
Added missing content back for #626
2019-08-30 17:35:46 +02:00
Jake Jarvis
00297085db
tpl: Migrate last shortcodes (YouTube and Vimeo) to HTTPS embeds
2019-08-30 11:55:55 +02:00
Bjørn Erik Pedersen
823f53c861
Add a set of image filters
...
With this you can do variants of this:
```
{{ $img := resources.Get "images/misc/3-jenny.jpg" }}
{{ $img := $img.Resize "300x" }}
{{ $g1 := $img.Filter images.Grayscale }}
{{ $g2 := $img | images.Filter (images.Saturate 30) (images.GaussianBlur 3) }}
```
Fixes #6255
2019-08-28 15:59:54 +02:00
digitalcraftsman
f6b8ace66e
Update contribution page for theme submissions
...
The instructions were partially outdated or not accurate enough. The correct theme submission guidelines can be found in the README of the hugoThemes repository, which has been linked. This avoids unnecessary confusion and directs users to an always up-to-date submission guide.
2019-08-27 17:19:25 +02:00
Bjørn Erik Pedersen
f9978ed164
Image resource refactor
...
This commit pulls most of the image related logic into its own package, to make it easier to reason about and extend.
This is also a rewrite of the transformation logic used in Hugo Pipes, mostly to allow constructs like the one below:
{{ ($myimg | fingerprint ).Width }}
Fixes #5903
Fixes #6234
Fixes #6266
2019-08-26 15:00:44 +02:00
Niklas Fasching
58d4c0a8be
deps: Update go-org (fix footnotes in headlines)
2019-08-24 13:23:42 +02:00
Christian Oliff
c5319db9f1
Discrepancy typo fix
2019-08-23 17:21:37 +02:00
Bjørn Erik Pedersen
ad1d6d6406
source: Remove debug check left during development
...
Fixes #6249
2019-08-23 07:37:56 +02:00
Johannes Ernst
181b20112c
Use index.md instead of _index.md in example
...
The about directory in the example has no children, but the example used _index.md. This is confusing to beginners.
2019-08-22 20:45:19 +02:00
Vazrupe (HyeonGyu Lee)
fd3d90ced8
hugolib: Change to output non-panic error message if missing shortcode template
...
A panic occurred when the `nested` variable was nil.
Changed to check if the `nested` variable is nil.
Fixes #6075
2019-08-22 10:40:16 +02:00
Reilly Wood
cc8ebb712a
Update link to Chroma style gallery
...
The link to the style gallery is old – it looks like it dates back to Pygments, it does not include all of the styles available in Chroma (I noticed because it was missing the Solarized styles).
I've updated it to point to the updated style gallery [linked in Chroma's official README](https://github.com/alecthomas/chroma#styles ).
2019-08-22 09:20:51 +02:00
Bjørn Erik Pedersen
9029dbf9b5
Update index.md
v0.57.2
2019-08-17 20:22:08 +02:00
Bjørn Erik Pedersen
43382d85ff
Update index.md
2019-08-17 20:20:54 +02:00
Bjørn Erik Pedersen
15004e5b5a
Update index.md
2019-08-17 20:20:29 +02:00
Bjørn Erik Pedersen
694cd54424
Hugo 0.57.2
2019-08-17 20:06:52 +02:00
Bjørn Erik Pedersen
0d5aff201b
Merge branch 'temp572'
2019-08-17 20:06:28 +02:00
hugoreleaser
3ae4b3e19f
releaser: Prepare repository for 0.58.0-DEV
...
[ci skip]
2019-08-17 17:59:28 +00:00
hugoreleaser
4241d859ec
releaser: Add release notes to /docs for release of 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
hugoreleaser
a849cb2d9b
releaser: Add release notes to /docs for release of 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
hugoreleaser
01fbb46354
releaser: Bump versions for release of 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
hugoreleaser
9958e5e911
releaser: Add release notes for 0.57.2
...
[ci skip]
2019-08-17 17:51:54 +00:00
Bjørn Erik Pedersen
f77a4a2f4a
Revert "Update to Go 1.11.13 and 1.12.9"
...
This reverts commit f28efd35820dc4909832c14dfd8ea6812ecead31.
2019-08-17 19:38:12 +02:00
Bjørn Erik Pedersen
88d6993612
tpl: Use RegularPages for RSS template
...
This is in line with how it was in Hugo 0.56.
See #6238
2019-08-17 19:37:14 +02:00
Bjørn Erik Pedersen
ea68160300
hugolib: Don't use the global warning logger
...
See #6238
2019-08-17 18:50:16 +02:00
Bjørn Erik Pedersen
564cf1bb11
tpl: Avoid "home page warning" in RSS template
...
See #6238
2019-08-17 18:50:16 +02:00
Bjørn Erik Pedersen
4b4bdcfe74
hugolib: Allow index.md inside bundles
...
Fixes #6208
2019-08-17 18:50:16 +02:00
Bjørn Erik Pedersen
18836a71ce
Adjust the default paginator for sections
...
To make it in line with 0.56 for sections; only paginate regular pages.
Fixes #6231
2019-08-17 13:08:03 +02:00
Bjørn Erik Pedersen
ab40ce679f
Revert the 0.57 home.Pages change
...
In 0.57 we change the behaviour of home.Pages to be in line with the other sections. This has created a lot noise and breakage in the wild.
This commit reverts that change, but adds a warning that we will change this in 0.58 and that you should consider using .Site.RegularPages if that is what you want.
2019-08-17 13:06:39 +02:00
Bjørn Erik Pedersen
f64802326f
Update index.md
2019-08-16 20:11:59 +02:00
Bjørn Erik Pedersen
416493b548
hugolib: Add a site benchmark
2019-08-16 16:24:21 +02:00
XhmikosR
ad4c15174e
Update data-templates.md
...
Fix anchor to `#call-the-functions-with-a-url`
2019-08-16 10:03:47 -04:00
XhmikosR
2878090b5c
Update transform.Unmarshal.md
2019-08-16 10:00:35 -04:00
Kaushal Modi
f76edaab07
Update description of .Pages based on its new behavior in Hugo 0.57+
...
Also document the new `.RegularPages` now available in all pages,
starting from Hugo v0.57.0.
Fixes https://github.com/gohugoio/hugoDocs/issues/890 .
2019-08-16 09:50:48 -04:00
Kaushal Modi
795e2a24e3
Add the missing <small> tag
...
Fixes https://github.com/gohugoio/hugoDocs/issues/891 .
2019-08-16 09:35:56 -04:00
Bjørn Erik Pedersen
f28efd3582
Update to Go 1.11.13 and 1.12.9
...
Fixes #6228
2019-08-16 10:46:34 +02:00
Dan Siddoway
fa5533c69b
Add strings.HasSuffix
documentation
...
I tracked this down *via* <https://discourse.gohugo.io/t/solved-add-hassuffix-function/13160 >. It came in handy for me; may it do so for others as well.
2019-08-16 09:59:35 +02:00
Bjørn Erik Pedersen
50ec7fd787
Release 0.57.1
v0.57.1
2019-08-15 21:06:34 +02:00
Bjørn Erik Pedersen
c18f9697e3
Merge branch 'temp571'
2019-08-15 21:05:57 +02:00
hugoreleaser
36d749f4ea
releaser: Prepare repository for 0.58.0-DEV
...
[ci skip]
2019-08-15 19:00:12 +00:00
hugoreleaser
663d625e85
releaser: Add release notes to /docs for release of 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
hugoreleaser
58c56e9ded
releaser: Add release notes to /docs for release of 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
hugoreleaser
484106cfa2
releaser: Bump versions for release of 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
hugoreleaser
4d60a920fa
releaser: Add release notes for 0.57.1
...
[ci skip]
2019-08-15 18:52:49 +00:00
Bjørn Erik Pedersen
6ccf50ea7b
hugolib: Fix draft etc. handling of _index.md pages
...
We will need to revisit this with a proper spec, but this commit makes sure that draft/expiryDate etc. set in front matter on _index.md content files that should disable the page will:
* Not crash
* Make the rendered page not render any `.Content`.
Fixes #6222
Fixes #6210
2019-08-15 20:41:48 +02:00
Bjørn Erik Pedersen
67524c9936
Fix mainSections logic
...
Fixes #6217
2019-08-15 20:21:57 +02:00