mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-16 22:53:40 +00: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-->".
|
// SummaryDivider denotes where content summarization should end. The default is "<!--more-->".
|
||||||
var SummaryDivider = []byte("<!--more-->")
|
var SummaryDivider = []byte("<!--more-->")
|
||||||
|
|
||||||
var summaryDividerAndNewLines = []byte("<!--more-->\n\n")
|
|
||||||
|
|
||||||
// Blackfriday holds configuration values for Blackfriday rendering.
|
// Blackfriday holds configuration values for Blackfriday rendering.
|
||||||
type Blackfriday struct {
|
type Blackfriday struct {
|
||||||
Smartypants bool
|
Smartypants bool
|
||||||
|
|
|
@ -237,8 +237,7 @@ func (p *Page) lineNumRawContentStart() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
internalSummaryDivider = []byte("HUGOMORE42")
|
internalSummaryDivider = []byte("HUGOMORE42")
|
||||||
internalSummaryDividerAndNewLines = []byte("HUGOMORE42\n\n")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Returns the page as summary and main if a user defined split is provided.
|
// Returns the page as summary and main if a user defined split is provided.
|
||||||
|
|
Loading…
Reference in a new issue