mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Add lang attribute to root HTML tag
Allow hyphens css property to work correctly and improve screen readers.
This commit is contained in:
parent
20cd023c07
commit
1fd4c4ef13
4 changed files with 8 additions and 4 deletions
|
@ -75,6 +75,9 @@ func (f *funcMap) Map() template.FuncMap {
|
|||
"contains": func(str, substr string) bool {
|
||||
return strings.Contains(str, substr)
|
||||
},
|
||||
"replace": func(str, old string, new string) string {
|
||||
return strings.Replace(str, old, new, 1)
|
||||
},
|
||||
"isodate": func(ts time.Time) string {
|
||||
return ts.Format("2006-01-02 15:04:05")
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue