hugo/tpl
Bjørn Erik Pedersen 7203a95a60 Fix rebuilds when running hugo -w
This was partly broken in Hugo 0.123.0.

We have two internal config options that gets set from the CLI:

* Running; a web server is running
* Watching; either set via `hugo -w`  or `hugo server --watch=false`

Part of the change detection code wrongly used the `Running` as a flag when `Watching` would be the correct.

Fixes #12296
2024-04-25 14:35:49 +02:00
..
cast all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
collections Fix intersect and similar for term entry page collections 2024-03-15 16:45:53 +01:00
compare all: Fix comments for exported functions and packages 2023-05-18 21:25:27 +02:00
crypto all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
css all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
data tpl/data: Fix GetCSV deprecation message 2024-02-01 19:21:15 +01:00
debug Fix panic with debug.Dump with Page when running the server 2024-03-26 20:41:30 +01:00
diagrams all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
encoding Add a page template func 2023-02-25 19:53:18 +01:00
fmt all: Fix typos 2024-02-11 13:51:33 +02:00
hugo Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
images all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
inflect Add a page template func 2023-02-25 19:53:18 +01:00
internal Upgrade to Go 1.22.1 2024-03-15 16:40:36 +01:00
js all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
lang errors: Return error from cast.ToStringE() consistently 2024-04-04 11:00:14 +02:00
math all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
openapi testing: Rename integration_test.go to PACKAGE_integration_test.go 2024-01-28 11:41:59 +01:00
os testing: Rename integration_test.go to PACKAGE_integration_test.go 2024-01-28 11:41:59 +01:00
page testing: Simplify some integration tests 2024-01-28 22:17:22 +01:00
partials testing: Simplify some integration tests 2024-01-28 22:17:22 +01:00
path all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
reflect all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
resources Fix Name for nested resourced fetched in resources.ByName and similar 2024-03-13 18:59:50 +02:00
safe all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
site all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
strings tpl/strings: Improve type checking 2024-04-04 18:34:55 +02:00
templates testing: Simplify some integration tests 2024-01-28 22:17:22 +01:00
time all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
tplimpl Fix rebuilds when running hugo -w 2024-04-25 14:35:49 +02:00
transform helpers: Fix TrimShortHTML when used with AsciiDoc content 2024-04-14 17:53:05 +02:00
urls all: Fix duplicate words in comments 2024-04-11 09:31:33 +02:00
template.go Pass .RenderShortcodes' Page to render hooks as .PageInner 2024-04-15 09:49:57 +02:00
template_info.go Create default link and image render hooks 2024-01-30 20:12:19 +01:00
template_test.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00