Add HTML template sample

This commit is contained in:
raul 2024-05-27 08:28:10 +02:00
parent 7cfafda526
commit 915c5f0e0d
2 changed files with 17 additions and 0 deletions

16
cmd/templates/index.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello TMPL</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
</head>
<body>
<p>Hello!</p>
<p>{{ .title }}</p>
</body>
</html>

1
cmd/templates/style.css Normal file
View File

@ -0,0 +1 @@