mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
@ -262,7 +262,7 @@ func (r *ReleaseHandler) writeReleaseNotesToTemp(version string, infosMain, info
|
||||
func (r *ReleaseHandler) writeReleaseNotesToDocs(title, sourceFilename string) (string, error) {
|
||||
targetFilename := "index.md"
|
||||
bundleDir := strings.TrimSuffix(filepath.Base(sourceFilename), "-ready.md")
|
||||
contentDir := hugoFilepath("docs/content/news/" + bundleDir)
|
||||
contentDir := hugoFilepath("docs/content/en/news/" + bundleDir)
|
||||
targetFullFilename := filepath.Join(contentDir, targetFilename)
|
||||
|
||||
if r.try {
|
||||
|
Reference in New Issue
Block a user