Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-18 16:30:33 +0300
committerDillon <dillonzq@outlook.com>2020-05-18 16:30:33 +0300
commit8f53c999e524d6b4e5ff912c83c7be0ca9d36e62 (patch)
treee36fe337244e0a4abd2c78515302279465ad30ec /layouts/shortcodes/typeit.html
parentc1016df5d6ea4102baf117ec9599a1fcfbe7248f (diff)
chore: refactor some code
Diffstat (limited to 'layouts/shortcodes/typeit.html')
-rw-r--r--layouts/shortcodes/typeit.html2
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 -}}