You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue 1: Using the following Hugo code always prints aaa and bbb lowercase (text casing is lost):
{{- range $ii, $ee := steps -}}
{{ $ii }} {{ $ee }}
{{- range $i, $e := $ee -}}
{{ $i }} {{ $e }}
{{- end -}}
{{- end -}}
Issue 2: It may be by design based on my research - the order is lost and AAA comes first.
Both issues are not obvious based on how one reads the front matter and some (reasonable I think) expectations and difficult to work around - for issue #1 I had to force the use of title case function, and for issue #2 I had to invent a prefix which is then sorted by before being removed from the output.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Consider the following YAML front matter:
Issue 1: Using the following Hugo code always prints
aaa
andbbb
lowercase (text casing is lost):Issue 2: It may be by design based on my research - the order is lost and AAA comes first.
Both issues are not obvious based on how one reads the front matter and some (reasonable I think) expectations and difficult to work around - for issue #1 I had to force the use of title case function, and for issue #2 I had to invent a prefix which is then sorted by before being removed from the output.
The text was updated successfully, but these errors were encountered: