summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-02-06Update to Dart Sass Protocol beta6Bjørn Erik Pedersen
Note that this version is not backwards compatible, so you have to update the protocol binary.
2021-02-06tpl/embedded: Exclude pages without Permalink from sitemapJeremy Epstein
2021-02-06langs/i18n: Support translation files with suffix *.ymlBjørn Erik Pedersen
Fixes #8212
2021-02-04Refactor: Write to stdout by defaultBen Mezger
2021-02-04Refactor: Remove powershell supportBen Mezger
2021-02-04Feat: Add zsh, fish and powershell completion supportBen Mezger
See issue #4296
2021-02-01github: Enable NPM tests on WindowsBjørn Erik Pedersen
Fixes #8196
2021-02-01deps: Update to esbuild v0.8.39Bjørn Erik Pedersen
Fixes #8189
2021-02-01Trim whitespace in elements written to hugo_stats.jsonPavlo Matiash
Fixes #7958
2021-02-01tpl/data: Add default user-agent header for getJSON requestsBaris Ceviz
2021-01-28build(deps): bump github.com/aws/aws-sdk-go from 1.35.0 to 1.36.33dependabot[bot]
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.35.0 to 1.36.33. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.0...v1.36.33) Signed-off-by: dependabot[bot] <support@github.com>
2021-01-23docs: Remove mention of a file size limit for readFileAleksandr Demakin
The limit itself was removed in this PR: https://github.com/gohugoio/hugo/pull/8172.
2021-01-23tpl/os: remove 1mb limit for readFile.Aleksandr Demakin
2021-01-22js: Add Inject config optionBjørn Erik Pedersen
Fixes #8164
2021-01-22tpl: Fix race condition in text template baseofCameron Moore
Copy most of the htmltemplate cloning to the textemplate implementation in the same function.
2021-01-22js: Add Shims optionBjørn Erik Pedersen
This commit adds a new `shims` option to `js.Build` that allows swapping out a component with another. Fixes #8165
2021-01-21Fix nilpointer in js.Build error handlingBjørn Erik Pedersen
Fixes #8162
2021-01-20Merge commit 'e48ffb763572814a3788780bb9653dfa2daeae22'Bjørn Erik Pedersen
2021-01-20Squashed 'docs/' changes from 1de7a358c..ef9c4913cBjørn Erik Pedersen
ef9c4913c Clean up and removal of outdated examples 46122c9aa add godot tutorials to showcase 06d1d1ea2 Update scss-sass.md 1fc63c100 Spelling fix in 0.79.1 release notes ad2f50e3d Update plainwords description (#1296) 33021d451 Update substr examples (#1304) 6b1cc59bb Release 0.80.0 521db8c6d Merge branch 'tempv0.80.0' 58626c2b3 releaser: Add release notes to /docs for release of 0.80.0 f81d118af dartsass: Dart Sass only supports `expanded` and `compressed` 7da6f54be Add Dart Sass support b1f2661bb Replace jsconfig.js with jsconfig.json 38de0c1a4 Update index.md 223ceae80 Update index.md f7ac0e59d Release v0.79.1 2d4583d43 Merge branch 'temp791-2' 1d34e609b releaser: Add release notes to /docs for release of 0.79.1 e26769988 Merge branch 'temp791' 75694d904 Fix Resource.ResourceType so it always returns MIME's main type 0f65d7783 Typo s/adds/add (#1298) 0b896b2c0 images: Add images.Overlay filter 0d4257dcd Clarify documentation on shimming fcf601ddf Update index.html 6bf9bc1c1 Update index.html 1ce76bf3a Update index.html e7d976eec Update index.html db2996e64 Update index.html 245e5bfc9 news: Add post about Apple M1 3ad4115ed tpl: Add title parameter to YouTube shortcode 76ed976f8 Added two useful extensions to the list (#1243) e5a30dd11 Update related.md 25cf8f48b Improve substr examples e16e57e9a Update path.Split.md 2749b88fd Update path.Split.md d76cad3ff Release 0.79.0 f5ccfbe98 releaser: Add release notes to /docs for release of 0.79.0 ebf1b87b0 Merge commit '9f1265fde4b9ef186148337c99f08601633b6056' 1f1e8f39c Allow setting the delimiter used for setting config via OS env, e.g. HUGO_ e9b1414dd deps: Update to github.com/evanw/esbuild 0.8.11 to 0.8.14 0f76cf66c docs: Regen docshelper 1ada5d47e Add menu params 1c120aef0 Revert "docs: Regenerate docshelper" 7b60b5624 docs: Regenerate docshelper git-subtree-dir: docs git-subtree-split: ef9c4913cdcf95d62ec12d872f412f97e55a55ad
2021-01-19build(deps): bump github.com/spf13/afero from 1.4.1 to 1.5.1Robert-André Mauchin
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2021-01-18pipes: Add external source map support to js.Build and BabelAndreas Richter
Fixes #8132
2021-01-08tpl: Fix metrics hint trackingCameron Moore
When tracking for cache hints, track the same template name as the call to MeasureSince in Execute. When referencing a partial "foo", the value of `n` does not match `templ.Name()` (`partials/foo` versus `partials/foo.html`). This was causing hints to go untracked since there was no existing metric to append the hint to. Fixes #8125
2021-01-08tpl: Do not return errors in substr for out-of-bounds casesCameron Moore
Most other substr implementations don't error out in out-of-bounds cases but simply return an empty string (or a value that's printed as an empty string). We'll follow their lead and not exit template execution. Allow the user decide what to do with the empty result. Fixes #8113
2021-01-08tpl: Add missing test scenario for strings.SubstrCameron Moore
2021-01-03Run go mod tidyBjørn Erik Pedersen
2021-01-02deps: Update go-org to v1.4.0Niklas Fasching
- Add support for pretty urls [1]. Rewrite file links: 1. replace the `.org` extension with `/` (`/foo.org` -> `/foo/`) 2. prefix unrooted links with `../` as relative links start in the fake subdirectory `/foo/` rather than `/` - Fix case-sensitivity of org drawer `:end:` [1] https://gohugo.io/content-management/urls/#pretty-urls
2021-01-01rst: Adjust log levelBjørn Erik Pedersen
2020-12-31releaser: Prepare repository for 0.81.0-DEVhugoreleaser
[ci skip]
2020-12-31releaser: Add release notes to /docs for release of 0.80.0v0.80.0hugoreleaser
[ci skip]
2020-12-31releaser: Bump versions for release of 0.80.0hugoreleaser
[ci skip]
2020-12-31Update 0.80.0-relnotes.mdBjørn Erik Pedersen
2020-12-31releaser: Add release notes for 0.80.0hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2020-12-31Allow Dart Sass transformations to be cached on diskBjørn Erik Pedersen
This enbles people to build their sites/themes on servers where the Dart Sass binary is not available.
2020-12-31dartsass: Dart Sass only supports `expanded` and `compressed`Bjørn Erik Pedersen
2020-12-31dartsass: Add missing OutputStyle optionBjørn Erik Pedersen
2020-12-30Update emoji import paths and versionCameron Moore
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-30Add Dart Sass supportBjørn Erik Pedersen
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-28GroupByParamDate now supports datetimesHorst Gutmann
Previously, the method only worked for date strings but not (for instance) full RFC3339 datetime strings.
2020-12-23para: Skip para test when not on CIBjørn Erik Pedersen
Fixes #6963
2020-12-22Update SECURITY.mdBjørn Erik Pedersen
2020-12-19releaser: Add release notes to /docs for release of 0.79.1hugoreleaser
[ci skip]
2020-12-19Improve LookPathBjørn Erik Pedersen
2020-12-18docs: create a SECURITY.mdPatrick Kollitsch
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-17Fix Resource.ResourceType so it always returns MIME's main typeBjørn Erik Pedersen
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-17para: Show more detail on failed time testCameron Moore
Give us more visibility into how badly a given host is failing in the time test. Updates #6963
2020-12-17images: Add images.Overlay filterBjørn Erik Pedersen
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-16tpl: Regenerate templatesBjørn Erik Pedersen
2020-12-16tpl: Fix series detection in opengraphMaciej Sawicki
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-16hugolib/paths: Fix typo真夜
2020-12-16all: Fix minor typosPhil Davis