From 894b69dba54d5ed21c7cbf35df1c53428a3e6618 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 19 Sep 2016 22:14:15 +0200 Subject: [PATCH] Remove some unused vars --- helpers/content.go | 2 -- hugolib/page.go | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) 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. -- 2.30.2