mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-31 15:08:42 -04:00
chore: fix function in comment (#7121)
Signed-off-by: bytesingsong <bytesing@icloud.com>
This commit is contained in:
parent
1209b5c566
commit
aff88d4b26
@ -1546,7 +1546,7 @@ func (mre *MatchRegexp) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParseCaddyfileNestedMatcher parses the Caddyfile tokens for a nested
|
// ParseCaddyfileNestedMatcherSet parses the Caddyfile tokens for a nested
|
||||||
// matcher set, and returns its raw module map value.
|
// matcher set, and returns its raw module map value.
|
||||||
func ParseCaddyfileNestedMatcherSet(d *caddyfile.Dispenser) (caddy.ModuleMap, error) {
|
func ParseCaddyfileNestedMatcherSet(d *caddyfile.Dispenser) (caddy.ModuleMap, error) {
|
||||||
matcherMap := make(map[string]any)
|
matcherMap := make(map[string]any)
|
||||||
|
@ -380,7 +380,7 @@ func (TemplateContext) funcMarkdown(input any) (string, error) {
|
|||||||
return buf.String(), nil
|
return buf.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// splitFrontMatter parses front matter out from the beginning of input,
|
// funcSplitFrontMatter parses front matter out from the beginning of input,
|
||||||
// and returns the separated key-value pairs and the body/content. input
|
// and returns the separated key-value pairs and the body/content. input
|
||||||
// must be a "stringy" value.
|
// must be a "stringy" value.
|
||||||
func (TemplateContext) funcSplitFrontMatter(input any) (parsedMarkdownDoc, error) {
|
func (TemplateContext) funcSplitFrontMatter(input any) (parsedMarkdownDoc, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user