mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Remove some unused vars
This commit is contained in:
parent
9c017e512e
commit
894b69dba5
2 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue