Use uniq before sort
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $flags = delimit ($flags | uniq) " " }}
|
{{ $flags = delimit ($flags | uniq) " " }}
|
||||||
{{ $sectionclass = delimit (split $sectionclass " " | append $flags | sort | uniq) " " }}
|
{{ $sectionclass = delimit (split $sectionclass " " | append $flags | uniq | sort) " " }}
|
||||||
|
|
||||||
<section {{ with $sectionclass }} class="{{ . }}" {{ end }}>
|
<section {{ with $sectionclass }} class="{{ . }}" {{ end }}>
|
||||||
{{ with $title }}
|
{{ with $title }}
|
||||||
|
Reference in New Issue
Block a user