Skip to content

Commit ee5f757

Browse files
committed
Merge branch 'develop'
2 parents e5f32d3 + df6761f commit ee5f757

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

layouts/shortcodes/typeit.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- $content := .Inner -}}
1+
{{- $content := trim .Inner "\n" -}}
22
{{- $classList := .Get "class" | slice -}}
33
{{- $tag := .Get "tag" | default "div" -}}
44

@@ -19,7 +19,6 @@
1919
{{- end -}}
2020

2121
{{- /* trim the newline */ -}}
22-
{{- $content = trim $content "\n" -}}
2322
{{- $id := dict "content" $content "scratch" .Page.Scratch | partial "function/id.html" -}}
2423
{{- $key := .Get "group" | string | default $id -}}
2524
{{- $typeitMap := (.Page.Scratch.Get "this").typeitMap | default dict -}}

0 commit comments

Comments
 (0)