mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
[docs-only] fix changelog template for the date field
References: #7691 ([docs-only] add toc to changelog) Fixes the creation of the link when the date is a string and in upper case: * link created: `changelog-for-unreleased-UNRELEASED` * link required: `changelog-for-unreleased-unreleased`
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Table of Contents
|
||||
|
||||
{{ range . -}}
|
||||
* [Changelog for {{ .Version }}](#changelog-for-{{ .Version | replace "." ""}}-{{ .Date -}})
|
||||
* [Changelog for {{ .Version }}](#changelog-for-{{ .Version | replace "." ""}}-{{ .Date | lower -}})
|
||||
{{ end -}}
|
||||
{{ $allVersions := . }}
|
||||
{{- range $index, $changes := . }}{{ with $changes -}}
|
||||
|
||||
Reference in New Issue
Block a user