mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Add header go html template
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en_us">
|
||||
|
||||
<!-- render head -->
|
||||
{{ template "head.go.tmpl" . }}
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,6 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en_us">
|
||||
|
||||
<!-- render head -->
|
||||
{{ template "head.go.tmpl" . }}
|
||||
|
||||
<body>
|
||||
|
||||
<!-- render error -->
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
|
||||
<meta name="description" content="{{ .Description }}"/>
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
@@ -1,6 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en_us">
|
||||
|
||||
<!-- render head -->
|
||||
{{ template "head.go.tmpl" . }}
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
@@ -14,6 +14,7 @@ import (
|
||||
// Static go-templates source
|
||||
//go:embed blog.go.tmpl
|
||||
//go:embed error.go.tmpl
|
||||
//go:embed head.go.tmpl
|
||||
//go:embed index.go.tmpl
|
||||
var content embed.FS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user