Allow specifying state in weather location

This commit is contained in:
Svilen Markov
2024-05-02 19:54:20 +01:00
parent ad06146784
commit d8d6625478
4 changed files with 79 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
{{ if not .HideLocation }}
<div class="flex items-center justify-center margin-top-15 gap-7 size-h5">
<div class="location-icon"></div>
<div class="text-truncate">{{ .Place.Name }}, {{ .Place.Country }}</div>
<div class="text-truncate">{{ .Place.Name }},{{ if .ShowAreaName }} {{ .Place.Area }},{{ end }} {{ .Place.Country }}</div>
</div>
{{ end }}
{{ end }}