Remove some unused vars

This commit is contained in:
Bjørn Erik Pedersen 2016-09-19 22:14:15 +02:00
parent 9c017e512e
commit 894b69dba5
2 changed files with 1 additions and 4 deletions

View file

@ -42,8 +42,6 @@ var SummaryLength = 70
// SummaryDivider denotes where content summarization should end. The default is "<!--more-->".
var SummaryDivider = []byte("<!--more-->")
var summaryDividerAndNewLines = []byte("<!--more-->\n\n")
// Blackfriday holds configuration values for Blackfriday rendering.
type Blackfriday struct {
Smartypants bool

View file

@ -238,7 +238,6 @@ func (p *Page) lineNumRawContentStart() int {
var (
internalSummaryDivider = []byte("HUGOMORE42")
internalSummaryDividerAndNewLines = []byte("HUGOMORE42\n\n")
)
// Returns the page as summary and main if a user defined split is provided.