diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-18 16:30:33 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-05-18 16:30:33 +0300 |
commit | 8f53c999e524d6b4e5ff912c83c7be0ca9d36e62 (patch) | |
tree | e36fe337244e0a4abd2c78515302279465ad30ec /layouts/shortcodes/typeit.html | |
parent | c1016df5d6ea4102baf117ec9599a1fcfbe7248f (diff) |
chore: refactor some code
Diffstat (limited to 'layouts/shortcodes/typeit.html')
-rw-r--r-- | layouts/shortcodes/typeit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/typeit.html b/layouts/shortcodes/typeit.html index a3d7da5..1d2ea01 100644 --- a/layouts/shortcodes/typeit.html +++ b/layouts/shortcodes/typeit.html @@ -19,7 +19,7 @@ {{- end -}} {{- /* trim the newline */ -}} -{{- $id := dict "content" $content "scratch" .Page.Scratch | partial "function/id.html" -}} +{{- $id := dict "Content" $content "Scratch" .Page.Scratch | partial "function/id.html" -}} {{- $key := .Get "group" | string | default $id -}} {{- $typeitMap := (.Page.Scratch.Get "this").typeitMap | default dict -}} {{- $group := index $typeitMap $key -}} |