2019-06-27 03:42:52 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
|
|
|
<head>
|
|
|
|
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }}</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
{{ hugo.Generator }}
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
|
|
|
|
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
|
|
|
|
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
|
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
|
|
|
|
2019-06-27 06:01:38 +00:00
|
|
|
{{ if not .Site.IsServer }}
|
|
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
|
|
{{ end }}
|
2019-06-27 03:42:52 +00:00
|
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
|
|
{{ template "_internal/opengraph.html" . }}
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="app-header">
|
|
|
|
<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
|
|
|
|
<h1>{{ .Site.Params.author | default .Site.Title }}</h1>
|
|
|
|
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
|
|
|
<div class="app-header-social">
|
|
|
|
{{ range .Site.Params.social }}
|
|
|
|
<a target="_blank" href="{{ .url }}">{{ partial "icon.html" (dict "ctx" $ "name" .name ) }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2019-06-27 05:33:32 +00:00
|
|
|
<p>
|
|
|
|
<a href="/files/resume.pdf">
|
|
|
|
{{ partial "icon.html" (dict "ctx" $ "name" "download") }}
|
|
|
|
Download Résumé
|
|
|
|
</a>
|
|
|
|
</p>
|
2019-06-27 03:42:52 +00:00
|
|
|
</header>
|
|
|
|
<main class="app-container">
|
|
|
|
{{ block "main" . }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|