From: Bjørn Erik Pedersen Date: Mon, 19 Sep 2016 20:14:15 +0000 (+0200) Subject: Remove some unused vars X-Git-Tag: v0.17~38 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=894b69db;p=brevno-suite%2Fhugo Remove some unused vars --- diff --git a/helpers/content.go b/helpers/content.go index f3d8bd94..afefb604 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 1acd9c05..fa43f4d4 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.