blob: aa033835d392cce3e5a7902107233e21de0d804e (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- added from octo -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1">
{{ if not .Site.Params.disableGoogleFonts }}
<!--Fonts from Google"s Web font directory at http://google.com/webfonts added from Octo-->
<link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
{{ end }}
<!-- goes into the title bar -->
<title>{{ .Title }}</title>
<!-- css -->
<!-- original css -->
<link rel="stylesheet" href="{{ "/css/hugo-octopress.css" | absURL }}">
<!-- css overrides -->
{{ range .Site.Params.customCSS }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
{{ end }}
<!-- For sidebar icons - TODO: find local icons I guess-->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<!-- Icons -->
<link href="{{ "/favicon.png" | absURL }}" rel="icon">
<!-- RSS -->
{{ $siteTitle := .Site.Title }}
{{ $authorName := .Site.Author.name }}
{{ with .RSSLink }}<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $siteTitle }}" />{{ end }}
<meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.defaultDescription }}{{ end }}">
<meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ if gt $index 0 }},{{ end }}{{ . }}{{ else }}{{ .Site.Params.defaultKeywords }}{{ end }}">
<meta name="author" content="{{ .Site.Params.author }}">
<!-- outputs the generator version for usage tacking -->
{{ .Hugo.Generator }}
<!-- Google Analytics -->
{{ template "_internal/google_analytics_async.html" . }}
</head>
<body{{ with .Site.Params.theme }} class="{{ . }}"{{ end }}>
<!-- top header for octopress -->
<header role="banner">{{ partial "octo-header.html" . }}</header>
<!-- navigation -->
<nav role="navigation">{{ partial "navigation.html" . }}</nav>
|