36 lines
1.9 KiB
HTML
36 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="author" content="{{ .Site.Author }}" />
|
|
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}img/favicon.ico">
|
|
<title>
|
|
{{- $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" -}}
|
|
{{- if eq $url "/" -}}
|
|
{{- .Site.Title -}}
|
|
{{- else -}}
|
|
{{- if .Params.heading -}} {{- .Params.heading -}} {{- else -}} {{- .Title -}} {{- end -}}
|
|
{{- end -}}
|
|
</title>
|
|
{{ .Hugo.Generator }}
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/main.css" />
|
|
{{- if .Params.highlight -}}
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/tomorrow.min.css">
|
|
{{ end }}
|
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" />
|
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,200bold,400old" />
|
|
{{ range .Site.Params.custom_css }}
|
|
<link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}">
|
|
{{ end }}
|
|
{{ `<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
|
<![endif]-->` | safeHTML }}
|
|
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
</head>
|