diff --git a/helpers/content.go b/helpers/content.go index f3d8bd94f..afefb604d 100644 --- a/helpers/content.go +++ b/helpers/content.go @@ -42,8 +42,6 @@ var SummaryLength = 70 // SummaryDivider denotes where content summarization should end. The default is "". var SummaryDivider = []byte("") -var summaryDividerAndNewLines = []byte("\n\n") - // Blackfriday holds configuration values for Blackfriday rendering. type Blackfriday struct { Smartypants bool diff --git a/hugolib/page.go b/hugolib/page.go index 1acd9c056..fa43f4d4e 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -237,8 +237,7 @@ func (p *Page) lineNumRawContentStart() int { } var ( - internalSummaryDivider = []byte("HUGOMORE42") - internalSummaryDividerAndNewLines = []byte("HUGOMORE42\n\n") + internalSummaryDivider = []byte("HUGOMORE42") ) // Returns the page as summary and main if a user defined split is provided.