summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/templates/frontmatter.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/templates/frontmatter.go')
-rw-r--r--modules/caddyhttp/templates/frontmatter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/templates/frontmatter.go b/modules/caddyhttp/templates/frontmatter.go
index f9d5fb2..dd05217 100644
--- a/modules/caddyhttp/templates/frontmatter.go
+++ b/modules/caddyhttp/templates/frontmatter.go
@@ -56,6 +56,7 @@ func extractFrontMatter(input string) (map[string]interface{}, string, error) {
if index >= 0 {
fmEndFenceStart = index
fmEndFence = fence
+ break
}
}
if fmEndFenceStart < 0 {