mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +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-->".
|
// 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
|
||||||
|
@@ -238,7 +238,6 @@ 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.
|
||||||
|
Reference in New Issue
Block a user