aboutsummaryrefslogtreecommitdiffhomepage
path: root/common
AgeCommit message (Collapse)Author
2022-09-29releaser: Prepare repository for 0.105.0-DEVrelease-0.104.2hugoreleaser
[ci skip]
2022-09-29releaser: Bump versions for release of 0.104.2v0.104.2hugoreleaser
[ci skip]
2022-09-26releaser: Prepare repository for 0.105.0-DEVrelease-0.104.1hugoreleaser
[ci skip]
2022-09-26releaser: Bump versions for release of 0.104.1v0.104.1hugoreleaser
[ci skip]
2022-09-23releaser: Prepare repository for 0.105.0-DEVrelease-0.104.0hugoreleaser
[ci skip]
2022-09-23releaser: Bump versions for release of 0.104.0v0.104.0hugoreleaser
[ci skip]
2022-09-18releaser: Prepare repository for 0.104.0-DEVrelease-0.103.1hugoreleaser
[ci skip]
2022-09-18releaser: Bump versions for release of 0.103.1v0.103.1hugoreleaser
[ci skip]
2022-09-15releaser: Prepare repository for 0.104.0-DEVrelease-0.103.0hugoreleaser
[ci skip]
2022-09-15releaser: Bump versions for release of 0.103.0v0.103.0hugoreleaser
[ci skip]
2022-09-14Support PostProcess for all file typesBjørn Erik Pedersen
Not just HTML. Fixes #10269
2022-09-01releaser: Prepare repository for 0.103.0-DEVrelease-0.102.3hugoreleaser
[ci skip]
2022-09-01releaser: Bump versions for release of 0.102.3v0.102.3hugoreleaser
[ci skip]
2022-08-28releaser: Prepare repository for 0.103.0-DEVrelease-0.102.0hugoreleaser
[ci skip]
2022-08-28releaser: Bump versions for release of 0.102.0v0.102.0hugoreleaser
[ci skip]
2022-08-13common/hugio: One more fix for non-OS fsBjørn Erik Pedersen
Note that these are only used with OS fs, so no practical bugs, but still-
2022-08-13common/hugio: Fix CopyDir when fs is not OSBjørn Erik Pedersen
2022-06-28Accept vendor-specified build date if .git/ is unavailableAnthony Fok
Fixes #10053
2022-06-16releaser: Prepare repository for 0.102.0-DEVrelease-0.101.0hugoreleaser
[ci skip]
2022-06-16releaser: Bump versions for release of 0.101.0v0.101.0hugoreleaser
[ci skip]
2022-06-14common: Add hugo.GoVersionKhayyam Saleem
Closes #9849. This enables `hugo.GoVersion` in templates to access the version of Go that the Hugo binary was built with.
2022-06-13Respect NO_COLORBjørn Erik Pedersen
Fixes #10004
2022-06-08releaser: Prepare repository for 0.101.0-DEVhugoreleaser
[ci skip]
2022-06-08releaser: Bump versions for release of 0.100.2v0.100.2hugoreleaser
[ci skip]
2022-06-07Fix raw TOML dates in where/eqBjørn Erik Pedersen
Note that this has only been a problem with "raw dates" in TOML files in /data and similar. The predefined front matter dates `.Date` etc. are converted to a Go Time and has worked fine even after upgrading to v2 of the go-toml lib. Fixes #9979
2022-06-01releaser: Prepare repository for 0.101.0-DEVhugoreleaser
[ci skip]
2022-06-01releaser: Bump versions for release of 0.100.1v0.100.1hugoreleaser
[ci skip]
2022-05-31releaser: Prepare repository for 0.101.0-DEVhugoreleaser
[ci skip]
2022-05-31releaser: Bump versions for release of 0.100.0v0.100.0hugoreleaser
[ci skip]
2022-05-30Make .RenderString render shortcodesBjørn Erik Pedersen
Fixes #6703
2022-05-30Improve shortcode indentation handlingBjørn Erik Pedersen
* Record the leading whitespace (tabs, spaces) before the shortcode when parsing the page. * Apply that indentation to the rendered result of shortcodes without inner content (where the user will apply indentation). Fixes #9946
2022-05-18releaser: Prepare repository for 0.100.0-DEVhugoreleaser
[ci skip]
2022-05-18releaser: Bump versions for release of 0.99.1v0.99.1hugoreleaser
[ci skip]
2022-05-16common/hugo: Fix version logichugoreleaser
[ci skip]
2022-05-16releaser: Bump versions for release of 0.99.0v0.99.0hugoreleaser
[ci skip]
2022-05-15Improve SASS errorsBjørn Erik Pedersen
Fixes #9897
2022-05-15postcss: Fix import error handlingBjørn Erik Pedersen
Note that we will now fail if `inlineImports` is enabled and we cannot resolve an import. You can work around this by either: * Use url imports or imports with media queries. * Set `skipInlineImportsNotFound=true` in the options Also get the argument order in the different NewFileError* funcs in line. Fixes #9895
2022-05-14common/herrors: Remove unused structBjørn Erik Pedersen
2022-05-14errors: Misc improvementsBjørn Erik Pedersen
* Redo the server error template * Always add the content file context if relevant * Remove some now superflous error string matching * Move the server error template to _server/error.html * Add file context (with position) to codeblock render blocks * Improve JS build errors Fixes #9892 Fixes #9891 Fixes #9893
2022-05-09Revise the use of htime.Since/htime.NowBjørn Erik Pedersen
We cannot (also, it doesn't add any value) use that when the `clock` is set, * To measure time (before that global is set) * To compare file timestamps re cache eviction Fixes #9868
2022-05-08Use configured timeZone for the clockBjørn Erik Pedersen
And some other related adjustments. Updates #8787
2022-05-08Add `clock` cli flagsatotake
Close #8787
2022-05-06Improve error messages, esp. when the server is runningBjørn Erik Pedersen
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go. Fixes #9852 Fixes #9857 Fixes #9863
2022-04-28releaser: Prepare repository for 0.99.0-DEVhugoreleaser
[ci skip]
2022-04-28releaser: Bump versions for release of 0.98.0v0.98.0hugoreleaser
[ci skip]
2022-04-18releaser: Prepare repository for 0.98.0-DEVhugoreleaser
[ci skip]
2022-04-18releaser: Bump versions for release of 0.97.3v0.97.3hugoreleaser
[ci skip]
2022-04-17releaser: Prepare repository for 0.98.0-DEVhugoreleaser
[ci skip]
2022-04-17releaser: Bump versions for release of 0.97.2v0.97.2hugoreleaser
[ci skip]
2022-04-16releaser: Prepare repository for 0.98.0-DEVhugoreleaser
[ci skip]