From edcf5e3fc5752d78e87297fbed417a69c3b1e393 Mon Sep 17 00:00:00 2001 From: Salim B Date: Mon, 29 Mar 2021 05:30:55 +0000 Subject: [PATCH] Fix example in `merge.md` --- content/en/functions/merge.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/functions/merge.md b/content/en/functions/merge.md index cae806d4c..6a53f4442 100644 --- a/content/en/functions/merge.md +++ b/content/en/functions/merge.md @@ -20,8 +20,8 @@ Key handling is case-insensitive. An example merging two maps. ```go-html-template -{{ $default_params := dict "color" "blue" "width" "50%" "height" "25%" }} -{{ $user_params := dict "color" "red" "extra" (dict "duration" 2) }} +{{ $default_params := dict "color" "blue" "width" "50%" "height" "25%" "icon" "star" }} +{{ $user_params := dict "color" "red" "icon" "mail" "extra" (dict "duration" 2) }} {{ $params := merge $default_params $user_params }} ```