mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
highlight: typo #795
This commit is contained in:
parent
b624b71af5
commit
a1e0fa698d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@
|
||||||
{{- $wrap = (eq $wrap "true") }}
|
{{- $wrap = (eq $wrap "true") }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- /* enrich options */}}
|
{{- /* enrich attributes */}}
|
||||||
{{- $attributes = merge $attributes (dict "class" (delimit (append (index $attributes "class" | default slice) "highlight" slice) " ")) }}
|
{{- $attributes = merge $attributes (dict "class" (delimit (append (index $attributes "class" | default slice) "highlight" slice) " ")) }}
|
||||||
{{- if $wrap }}
|
{{- if $wrap }}
|
||||||
{{- $attributes = merge $options (dict "class" (delimit (append (index $attributes "class" | default slice) "wrap-code" slice) " ")) }}
|
{{- $attributes = merge $options (dict "class" (delimit (append (index $attributes "class" | default slice) "wrap-code" slice) " ")) }}
|
||||||
|
|
Loading…
Reference in a new issue