hugo/tpl
Bjørn Erik Pedersen 644d55475d Add hash.XxHash
Also move the non crypto hash funcs into this new package.

This is much faster than e.g. MD5, especially for larger inputs:

```
BenchmarkXxHash/xxHash_43-10         	 9917955	       112.2 ns/op	      56 B/op	       4 allocs/op
BenchmarkXxHash/mdb5_43-10           	 6017239	       204.1 ns/op	      96 B/op	       3 allocs/op
BenchmarkXxHash/fnv32a_43-10         	14407333	        82.30 ns/op	      16 B/op	       1 allocs/op
BenchmarkXxHash/xxHash_4300-10       	 2916892	       409.7 ns/op	      56 B/op	       4 allocs/op
BenchmarkXxHash/mdb5_4300-10         	  159748	      7491 ns/op	    4912 B/op	       3 allocs/op
BenchmarkXxHash/fnv32a_4300-10       	  218210	      5510 ns/op	      16 B/op	       1 allocs/op
```

Fixes #12635
2024-07-06 14:08:15 +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 Add hash.XxHash 2024-07-06 14:08:15 +02:00
css Add css.TailwindCSS 2024-06-25 15:48:02 +02:00
data tpl/data: Fix GetCSV deprecation message 2024-02-01 19:21:15 +01:00
debug tpl/debug: Fix reset of debug timers when running the server 2024-06-24 12:49:35 +02: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 Fix Erroridf/Warnidf mixed case issue 2024-06-22 19:01:56 +02:00
hash Add hash.XxHash 2024-07-06 14:08:15 +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 Clean up the css related template funcs package structure 2024-06-25 15:48:02 +02:00
js Clean up the css related template funcs package structure 2024-06-25 15:48:02 +02: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 Clean up the css related template funcs package structure 2024-06-25 15:48:02 +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 Implement defer 2024-06-23 11:25:47 +02:00
time all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
tplimpl Add hash.XxHash 2024-07-06 14:08:15 +02:00
transform Make the cache eviction logic for stale entities more robust 2024-05-04 19:45:43 +02:00
urls all: Fix duplicate words in comments 2024-04-11 09:31:33 +02:00
template.go Implement defer 2024-06-23 11:25:47 +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