• Maxime's avatar
    Add context to markdown template · 6451e10d
    Maxime authored
    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}}.
    6451e10d
markdown.go 3.12 KB