mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-12 20:13:59 +02:00
Remove some unused vars
This commit is contained in:
@@ -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
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user