hugo/tpl
Ujjwal Goyal c46fc838a9 tpl: Allow 'Querify' to take lone slice/interface argument
Querify can now take a lone string/interface slice (with string
keys) as a parameter, or multiple string parameters, to build
URL queries.

Querify earlier used 'Dictionary' to add key/value pairs to a
map to build URL queries. Changed to dynamically generate ordered
key/value pairs. Cannot take string slice as key (earlier
possible due to Dictionary).

Added tests and benchmarks for querify.

Closes #6735
2021-05-09 13:14:14 +02:00
..
cast
collections tpl: Allow 'Querify' to take lone slice/interface argument 2021-05-09 13:14:14 +02:00
compare
crypto
data tpl/data: Add default user-agent header for getJSON requests 2021-02-01 09:31:02 +01:00
debug
encoding
fmt
hugo
images
inflect Fix some humanize issues 2021-02-14 18:30:59 +01:00
internal tpl: Add temporary patch to fix template data race 2021-02-18 14:11:48 +01:00
js
lang
math
openapi/openapi3 deps: Update getkin/kin-openapi v0.60.0 => v0.61. 2021-04-30 14:27:21 +02:00
os
partials
path
reflect
resources
safe
site
strings tpl: Fix countwords to handle special chars 2021-05-03 09:10:06 +02:00
templates
time
tplimpl Remove .Site.Authors from embedded templates 2021-04-29 17:07:05 +02:00
transform tpl: Remove the FuzzMarkdownify func for now 2021-03-30 20:57:31 +02:00
urls
template.go
template_info.go
template_test.go