mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
committed by
GitHub
parent
a7b93e6564
commit
3a8aad6b19
@@ -328,6 +328,7 @@ func (p *pageState) RawContent() string {
|
||||
if start == -1 {
|
||||
start = 0
|
||||
}
|
||||
|
||||
return string(p.source.parsed.Input()[start:])
|
||||
}
|
||||
|
||||
@@ -727,9 +728,7 @@ Loop:
|
||||
frontMatterSet = true
|
||||
|
||||
next := iter.Peek()
|
||||
if !next.IsDone() {
|
||||
p.source.posMainContent = next.Pos()
|
||||
}
|
||||
p.source.posMainContent = next.Pos()
|
||||
|
||||
if !p.s.shouldBuild(p) {
|
||||
// Nothing more to do.
|
||||
|
Reference in New Issue
Block a user