26 lines
615 B
HTML
26 lines
615 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="style.css">
|
|
<script src="htmx.min.js"></script>
|
|
<script src="van.min.js"></script>
|
|
<title>{{ .Title }}</title>
|
|
</head>
|
|
<body>
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ if .Name }}
|
|
<p>Hello, {{ .Name }}!</p>
|
|
{{ else }}
|
|
<p>Hello, World!</p>
|
|
{{ end }}
|
|
|
|
<form method="POST" action="/">
|
|
<label for="name">Enter your name:</label>
|
|
<input type="text" id="name" name="name">
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</body>
|
|
</html>
|