🚧 Add front-end code
This commit is contained in:
parent
7cdc9c07ab
commit
c0c2a5ffcc
5 changed files with 127 additions and 0 deletions
22
front-end/cmd/web/templates/base.layout.gohtml
Normal file
22
front-end/cmd/web/templates/base.layout.gohtml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{{define "base" }}
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
{{template "header" .}}
|
||||
|
||||
<body>
|
||||
|
||||
{{block "content" .}}
|
||||
|
||||
{{end}}
|
||||
|
||||
{{block "js" .}}
|
||||
|
||||
{{end}}
|
||||
|
||||
{{template "footer" .}}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue