add HTML rendering capabilities and helper functions

This commit is contained in:
2024-11-12 23:46:40 +01:00
parent e44f56635b
commit f9990d37c0
8 changed files with 488 additions and 5 deletions
@@ -0,0 +1,4 @@
<ul>
<li>elem1</li>
<li>elem2</li>
</ul>
+16
View File
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Data.title }}</title>
</head>
<body>
{{ .Data.message }}
</body>
</html>