-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Now the default template looks like this:
<!DOCTYPE html>
<html${htmlAttrs}>
<head>
<meta charset="UTF-8">
<title>${title}</title>
${cssTags}
</head>
<body>
${jsTags}
</body>
</html>
For my use case, I want to inject extra content within body (I'm processing some markdown and want to inject the resulting HTML). What if we extended the template like this?
...
<body>
${body}
${jsTags}
</body>
With this small change, you could pass extra content to body directly through context without having to rewrite the entire template.