hugoreleaser
69aa3d4599
releaser: Add release notes for 0.80.0
...
Rename to *-ready.md to continue.
[ci skip]
2020-12-31 13:09:24 +00:00
Bjørn Erik Pedersen
ffbf5e45fa
Allow Dart Sass transformations to be cached on disk
...
This enbles people to build their sites/themes on servers where the Dart Sass binary is not available.
2020-12-31 11:32:20 +01:00
Bjørn Erik Pedersen
f81d118af8
dartsass: Dart Sass only supports expanded and compressed
2020-12-31 11:18:54 +01:00
Bjørn Erik Pedersen
48994ea766
dartsass: Dart Sass only supports expanded and compressed
2020-12-31 11:18:54 +01:00
Bjørn Erik Pedersen
428b0b3294
dartsass: Add missing OutputStyle option
2020-12-31 10:49:59 +01:00
Cameron Moore
1f7e9f7333
Update emoji import paths and version
...
Since emoji is v2, we must import it with the `/v2` suffix. Doing so
allows the Go tools to detect the latest release.
2020-12-30 22:46:19 +01:00
Bjørn Erik Pedersen
7da6f54be4
Add Dart Sass support
...
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.
Fixes #7380
Fixes #8102
2020-12-30 17:32:25 +01:00
Bjørn Erik Pedersen
cea1574023
Add Dart Sass support
...
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.
Fixes #7380
Fixes #8102
2020-12-30 17:32:25 +01:00
Horst Gutmann
f9f779786e
GroupByParamDate now supports datetimes
...
Previously, the method only worked for date strings but not (for
instance) full RFC3339 datetime strings.
2020-12-28 17:50:55 +01:00
Bjørn Erik Pedersen
b1f2661bb7
Replace jsconfig.js with jsconfig.json
...
Fixes https://github.com/gohugoio/hugo/issues/8096
2020-12-27 19:13:59 +01:00
Bjørn Erik Pedersen
a9718f44cd
para: Skip para test when not on CI
...
Fixes #6963
2020-12-23 19:47:20 +01:00
Bjørn Erik Pedersen
f802bb236a
Update SECURITY.md
2020-12-22 10:09:59 +01:00
Bjørn Erik Pedersen
38de0c1a4d
Update index.md
2020-12-19 17:36:10 +01:00
Bjørn Erik Pedersen
223ceae802
Update index.md
2020-12-19 17:28:18 +01:00
Bjørn Erik Pedersen
f7ac0e59d9
Release v0.79.1
2020-12-19 17:26:27 +01:00
Bjørn Erik Pedersen
2d4583d43b
Merge branch 'temp791-2'
2020-12-19 17:12:11 +01:00
hugoreleaser
1d34e609b5
releaser: Add release notes to /docs for release of 0.79.1
...
[ci skip]
2020-12-19 17:09:29 +01:00
hugoreleaser
6c29418278
releaser: Add release notes to /docs for release of 0.79.1
...
[ci skip]
2020-12-19 17:09:29 +01:00
Bjørn Erik Pedersen
e267699884
Merge branch 'temp791'
2020-12-19 17:05:54 +01:00
Bjørn Erik Pedersen
10ae7c3210
Improve LookPath
2020-12-19 17:03:07 +01:00
Patrick Kollitsch
ae2d1bd52d
docs: create a SECURITY.md
...
This file is used by Github as a tab on the repos homepage to access information about how to report security issues. The text is kept simple.
Will solve #8074
2020-12-18 17:55:49 +01:00
Bjørn Erik Pedersen
75694d9040
Fix Resource.ResourceType so it always returns MIME's main type
...
The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.
Fixes #8052
2020-12-17 22:20:12 +01:00
Bjørn Erik Pedersen
81975f847d
Fix Resource.ResourceType so it always returns MIME's main type
...
The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.
Fixes #8052
2020-12-17 22:20:12 +01:00
Cameron Moore
8103188b9b
para: Show more detail on failed time test
...
Give us more visibility into how badly a given host is failing in the
time test.
Updates #6963
2020-12-17 22:19:17 +01:00
David
0f65d77838
Typo s/adds/add ( #1298 )
2020-12-17 21:28:41 +07:00
Bjørn Erik Pedersen
0b896b2c0d
images: Add images.Overlay filter
...
This allows for constructs ala:
```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:
```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```
Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.
Fixes #8057
Fixes #4595
Updates #6731
2020-12-17 09:14:18 +01:00
Bjørn Erik Pedersen
3ba147e702
images: Add images.Overlay filter
...
This allows for constructs ala:
```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:
```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```
Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.
Fixes #8057
Fixes #4595
Updates #6731
2020-12-17 09:14:18 +01:00
Bjørn Erik Pedersen
a2d146ec32
tpl: Regenerate templates
2020-12-16 12:20:02 +01:00
Maciej Sawicki
d2d493ab5d
tpl: Fix series detection in opengraph
...
When inside front matter you specified series with spaces,
then the opengraph template wouldn't detect other articles,
because in `.Site.Taxonomies.series` they are stored by
urlized key.
Example:
```yaml
# in front matter
series:
- My Series
```
```gohtml
{{/* in a template */}}
{{- $series := index .Site.Taxonomies.series$name }}
{{/* was resolved to */}}
{{- $series := index {'my-series': ...} "MySeries" }}
```
2020-12-16 12:13:30 +01:00
真夜
ce96895deb
hugolib/paths: Fix typo
2020-12-16 12:12:14 +01:00
Phil Davis
04b89857e1
all: Fix minor typos
2020-12-16 12:11:32 +01:00
Chris Chute
0d4257dcde
Clarify documentation on shimming
...
Incorporate comments from fbeyer in this [discourse thread](https://discourse.gohugo.io/t/using-externals-and-shims-to-use-reacts-cdn/29225 ). Specifically:
- Create shims in the `assets` folder rather than in a published location (they are only needed at build-time)
- Shim `react` and `react-dom` for clearer and more common use case
- Clarify that you do not need to use the `externals` argument for `js.Build` when you specify `browser` in your `package.json` file
2020-12-10 23:57:46 +01:00
Bjørn Erik Pedersen
fcf601ddf6
Update index.html
2020-12-10 16:56:34 +01:00
Bjørn Erik Pedersen
6bf9bc1c1c
Update index.html
2020-12-10 16:11:44 +01:00
Bjørn Erik Pedersen
1ce76bf3ad
Update index.html
2020-12-10 13:10:31 +01:00
Bjørn Erik Pedersen
e7d976eec1
Update index.html
2020-12-10 13:00:55 +01:00
Bjørn Erik Pedersen
db2996e64f
Update index.html
2020-12-10 12:56:18 +01:00
Bjørn Erik Pedersen
245e5bfc9a
news: Add post about Apple M1
2020-12-10 11:19:24 +01:00
Bjørn Erik Pedersen
21fa1e86f2
Fix BenchmarkMergeByLanguage
...
Fixes #7914
2020-12-09 17:47:10 +01:00
Anthony Fok
c84ad8db82
deps: Bump github.com/spf13/cobra from 0.15.0 to 0.20.0
...
The substring match in TestExecute deploy test is adjusted accordingly.
2020-12-04 20:43:03 -07:00
Patrick Kollitsch
4e0acb89b7
chore: configure proper link to discourse.gohugo.io ( #8020 )
...
* chore: configure proper link to discourse.gohugo.io
This adds a configuration file to the issue templates for this repo. In this config file, an issue template is added that will look like the existing issue templates, but on click will lead directly to the discourse forum instead of hoping that people read what it says there. The support.md can be deleted.
* chore: remove obsolete support.md configuration
* chore: remove obsolete autoclosing workflow
2020-12-04 10:04:35 +01:00
Bjørn Erik Pedersen
718e09ed4b
tpl/internal/go_templates: Revert formatting
...
Should make future fork synch easier.
2020-12-03 13:47:43 +01:00
Bjørn Erik Pedersen
d90e37e0c6
all: Format code with gofumpt
...
See https://github.com/mvdan/gofumpt
2020-12-03 13:12:58 +01:00
dependabot[bot]
32471b57bd
build(deps): bump github.com/evanw/esbuild from 0.8.15 to 0.8.17
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.8.15 to 0.8.17.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.8.15...v0.8.17 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-02 13:04:16 +01:00
Andrew Zenk
3ad4115ed8
tpl: Add title parameter to YouTube shortcode
2020-12-02 12:53:53 +01:00
Andrew Zenk
4fc918e02c
tpl: Add title parameter to YouTube shortcode
2020-12-02 12:53:53 +01:00
sth
0ad378b09c
Use --baseURL path for live-reload URL
...
Fixes #6595
2020-12-02 12:52:26 +01:00
ivan-meridianbanc-com
aebfe156fb
Fix RelURL and AbsURL when path starts with language
2020-12-02 12:47:01 +01:00
dependabot[bot]
907d9e9268
build(deps): bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.31.0...v0.32.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-02 12:26:27 +01:00
Cameron Moore
5862fd2a60
tpl: Fix substr when length parameter is zero
...
When length parameter is zero, always return an empty string.
Updates #7993
2020-12-01 23:20:04 +01:00