init
This commit is contained in:
2
views/footer.html
Normal file
2
views/footer.html
Normal file
@@ -0,0 +1,2 @@
|
||||
</body>
|
||||
</html>
|
||||
6
views/header.html
Normal file
6
views/header.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title> {{ .title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
8
views/index.html
Normal file
8
views/index.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ template "header.html" }}
|
||||
|
||||
{{ range .videos }}
|
||||
{{ .Title }}
|
||||
{{ .Description }}
|
||||
{{ end }}
|
||||
|
||||
{{ template "footer.html" }}
|
||||
Reference in New Issue
Block a user