header.html 1.93 KB
Newer Older
key-amb's avatar
key-amb committed
1
<!DOCTYPE html>
2
3
4
5
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
6
7
8
		<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}">
		<link rel="icon" href="http://getbootstrap.com/favicon.ico">
		<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
9
10
		<!--<link href="http://fonts.googleapis.com/css?family=PT+Sans:400,700" rel="stylesheet" type="text/css">-->
		<link rel="stylesheet" href="/css/bootstrap.min.css">
11
12
		<link rel="stylesheet" href="/css/bootstrap-theme.css">
		<link rel="stylesheet" href="/css/theme.css">
13
		<link rel="stylesheet" href="/css/bootie-docs.css">
14
	</head>
15
16
17
18
19
20
21
22
23
24
25
26
27

<body role="document">

	<!-- Fixed navbar -->
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
28
				<a class="navbar-brand" href="/">{{ .Site.Title }}</a>
29
30
31
			</div>
			<div id="navbar" class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
32
					<li {{ if eq $isHomePage true }}class="active"{{ end }}><a href="/">Home</a></li>
33
34
35
				{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
					<li><a href="/categories/{{ $name | urlize }}">{{ title $name }}</a></li>
				{{ end }}
36
37
38
39
				</ul>
			</div><!--/.nav-collapse -->
		</div>
	</nav>
key-amb's avatar
key-amb committed
40
41

<div class="container">
42
	<!--<header role="banner">
43
		<!--<div class="header-logo">
key-amb's avatar
key-amb committed
44
			<a href="/"><img src="{{ .Site.Params.logo }}" width="60" height="60"></a>
45
		</div>
key-amb's avatar
key-amb committed
46
		{{ if eq $isHomePage true }}<h1 class="site-title">{{ .Site.Title }}</h1>{{ end }}
47
	</header>-->