summaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
blob: 1881eff42a9869f284532f5f591b313146acc48a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
<meta charset="utf-8">
{{ .Hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/css/min.css">
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}">
<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
</head>
<body>

<div class="container">
	<header role="banner">
		<div class="header-logo">
                        <a href="/"><img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"></a>
		</div>
		{{ if eq $isHomePage true }}<h1 class="site-title">{{ .Site.Title }}</h1>{{ end }}
	</header>
        <div class="container">
            <div class="row">
                {{ range $section, $p := .Site.Sections }}
                <div class="one-half column">
                    <a class="button" href="/{{ $section }}/">{{ $section }}</a>
                </div>
                {{ end }}
            </div>
        </div>