add head.tpl
This commit is contained in:
parent
eef006d629
commit
6966cb7392
|
@ -1 +1,7 @@
|
||||||
|
{{ define "Head" }}
|
||||||
|
{{ template "head" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{define "Body"}}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html class="no-js" lang="en_UK">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
||||||
|
<link rel="stylesheet" href="">
|
||||||
|
</head>
|
Loading…
Reference in New Issue