mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-23 15:31:40 -04:00
Created a struct containing middleware.Context, Title, Markdown and the variables from the user to use to render the template. The title now can be accessed via {{.Title}}. The variables can now be accessed via {{.Var.myVariableName}}.
152 B
152 B
title, variables
title | variables | ||
---|---|---|---|
Markdown test |
|
Welcome on the blog
Body
func getTrue() bool {
return true
}