2016-11-02 23:10:49 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
|
|
|
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
2020-09-25 07:20:08 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ "css/main.css" | relURL}}">
|
2019-08-25 21:32:33 -04:00
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|
2016-11-08 11:27:38 -05:00
|
|
|
{{ partial "head.html" . }}
|
2016-11-02 23:10:49 -04:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-11-03 21:14:36 -04:00
|
|
|
<a id="title" href="/" title="{{ .Site.Title }}">
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ if .Site.Params.logo }}
|
|
|
|
<img id="logo" alt="Logo" src="{{ .Site.Params.logo }}" />
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Site.Title }}
|
|
|
|
<h1>{{ .Site.Title }}</h1>
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
2016-11-09 16:26:34 -05:00
|
|
|
{{ if .Site.Params.description }}
|
|
|
|
<h4>{{ .Site.Params.description }}</h4>
|
|
|
|
{{ end }}
|
2016-11-02 23:10:49 -04:00
|
|
|
<div id="social">
|
2016-11-03 15:59:13 -04:00
|
|
|
{{ $icon_size := "64px" }}
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ if .Site.Params.email }}
|
2016-11-03 15:43:08 -04:00
|
|
|
<a href="mailto:{{ .Site.Params.email }}" title="Email">
|
2016-11-03 21:14:36 -04:00
|
|
|
<img alt="Email" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/email.svg" />
|
2016-11-02 23:10:49 -04:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.github }}
|
|
|
|
<a href="https://github.com/{{ .Site.Params.github }}" title="Github">
|
2016-11-03 21:14:36 -04:00
|
|
|
<img alt="GitHub" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/github.svg" />
|
2016-11-02 23:10:49 -04:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.facebook }}
|
|
|
|
<a href="https://facebook.com/{{ .Site.Params.facebook }}" title="Facebook">
|
2016-11-03 21:14:36 -04:00
|
|
|
<img alt="Facebook" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/facebook.svg" />
|
2016-11-02 23:10:49 -04:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.twitter }}
|
|
|
|
<a href="https://twitter.com/{{ .Site.Params.twitter }}" title="Twitter">
|
2016-11-03 21:14:36 -04:00
|
|
|
<img alt="Twitter" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/twitter.svg" />
|
2016-11-02 23:10:49 -04:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.linkedin }}
|
|
|
|
<a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}" title="LinkedIn">
|
2016-11-03 21:14:36 -04:00
|
|
|
<img alt="LinkedIn" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/linkedin.svg" />
|
2016-11-02 23:10:49 -04:00
|
|
|
</a>
|
|
|
|
{{ end }}
|
2017-06-04 14:02:32 -04:00
|
|
|
{{ if .Site.Params.youtube }}
|
|
|
|
<a href="https://youtube.com/user/{{ .Site.Params.youtube }}" title="Youtube">
|
|
|
|
<img alt="Youtube" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/youtube.svg" />
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
2016-11-02 23:10:49 -04:00
|
|
|
</div>
|
|
|
|
<div class="links">
|
2016-11-03 21:14:36 -04:00
|
|
|
<a href="/">Home</a>
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
2016-11-03 21:14:36 -04:00
|
|
|
<a href="/post/">Archive</a>
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ end }}
|
2017-01-17 14:33:43 -05:00
|
|
|
{{ range (where .Site.Pages "Section" "pages") }}
|
2017-04-19 16:32:28 -04:00
|
|
|
{{ if .IsPage }}
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
|
|
{{ end }}
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ end }}
|
|
|
|
</div>
|