hugo/tpl
Bjørn Erik Pedersen 9b5f786df8 Deprecate kind, lang, and path from front matter
These were added to the page meta object when we implemented "pages from data", but were not meant to be used in front matter.

That is not supported, so we might as well add validation.

Fixes #12484
2025-02-10 21:22:43 +01:00
..
cast tpl/cast: Improve float 2024-08-06 22:26:43 +02:00
collections tpl/collections: Use MapRange/SetIterKey/SetIterValue for Where, Sort and Merge 2025-01-13 16:24:48 +02:00
compare tpl/compare: Use any data type for compare.Conditional condition 2024-09-22 16:53:11 +02:00
crypto Add hash.XxHash 2024-07-06 14:08:15 +02:00
css resources: Address Dart Sass deprecation of global built-in functions 2024-11-01 14:05:27 +01:00
data Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
debug common/hugo: Adjust deprecation timing and message 2025-02-03 18:32: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 Add js.Batch 2024-12-12 21:43:17 +01:00
hash Replace the MD5 hashing of images with xxHash 2024-07-31 16:44:06 +02:00
hugo Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
images resources/images: Refactor golden image tests to locate them closer to the implementation 2025-01-11 18:27:53 +02:00
inflect Add a page template func 2023-02-25 19:53:18 +01:00
internal resources: Replace error handling in GetRemote with try (note) 2025-01-06 12:22:17 +01:00
js js: Fix js.Batch for multihost setups 2024-12-16 11:52:18 +01:00
lang Remove deprecations <= v0.122.0 (note) 2024-11-16 20:32:43 +01:00
math math: Add trigonometric functions and some angle helper functions 2024-07-29 11:05:36 +02: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 tests: Address deprecation warnings and errors 2024-09-29 10:49:26 +02:00
partials Add try 2025-01-05 15:32:21 +01:00
path all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
reflect Add ContentTypes to config 2025-02-08 10:31:15 +01:00
resources resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
safe Add try 2025-01-05 15:32:21 +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: Add TrimSpace function 2024-10-19 21:10:00 +02:00
templates templates: Fix handling of multiple defers in the same template 2025-01-09 07:59:25 +01:00
time all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
tplimpl Deprecate kind, lang, and path from front matter 2025-02-10 21:22:43 +01:00
transform Adjust error handling in ToMath vs try (note) 2025-01-09 11:47:19 +01:00
urls all: Fix duplicate words in comments 2024-04-11 09:31:33 +02:00
template.go Fix server edits of resources included in shortcode/hooks 2024-11-29 14:22:39 +01: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