Add common HTML tags to head and footer so we can re-use them

This commit is contained in:
Alan Orth 2016-08-30 00:31:01 +03:00
parent 57328b9015
commit b164ceb53c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1 @@
{{ .Content }}

View File

@ -1,10 +1,5 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{ partial "menu.html" . }}
{{ partial "header.html" . }}
@ -14,7 +9,3 @@
{{ partial "footer.html" . }}
{{ partial "after-footer.html" . }}
</body>
</html>

View File

@ -0,0 +1,3 @@
</body>
</html>

View File

@ -1,4 +1,7 @@
<head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
@ -17,3 +20,5 @@
<!-- combined, minified CSS -->
<link href="{{ .Site.BaseURL }}css/style.css" rel="stylesheet">
</head>
<body>