diff options
Diffstat (limited to 'themes/xmin/layouts/partials/header.html')
-rw-r--r-- | themes/xmin/layouts/partials/header.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/xmin/layouts/partials/header.html b/themes/xmin/layouts/partials/header.html new file mode 100644 index 0000000..4f431eb --- /dev/null +++ b/themes/xmin/layouts/partials/header.html | |||
@@ -0,0 +1,20 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="{{ .Site.LanguageCode }}"> | ||
3 | <head> | ||
4 | <meta charset="utf-8"> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
6 | <title>{{ .Title }} | {{ .Site.Title }}</title> | ||
7 | <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> | ||
8 | <link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" /> | ||
9 | {{ partial "head_custom.html" . }} | ||
10 | </head> | ||
11 | |||
12 | <body> | ||
13 | <nav> | ||
14 | <ul class="menu"> | ||
15 | {{ range .Site.Menus.main }} | ||
16 | <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> | ||
17 | {{ end }} | ||
18 | </ul> | ||
19 | <hr/> | ||
20 | </nav> | ||