mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 22:01:14 +00:00
parent
f9d6feca08
commit
f7ef7d3761
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (
|
|||
defer f.Close()
|
||||
|
||||
fmTail := ""
|
||||
if strings.Count(title, ".") > 1 {
|
||||
if !strings.HasSuffix(title, ".0") {
|
||||
// Bug fix release
|
||||
fmTail = `
|
||||
images:
|
||||
|
|
Loading…
Reference in a new issue