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
61
62
63
64
65
66
67
68
|
{{/* This manual URL checking (yuck!) is needed because of
https://github.com/spf13/hugo/issues/954#issuecomment-81928889
*/}}{{ $isBlog := (or (eq .URL "/blog/") (eq .Section "blog")) }}{{/*
*/}}<!DOCTYPE html>
<html>
<head>
<title>{{ if .IsPage }}{{ .Title }} « {{ end }}{{ if $isBlog }}Blog « {{ end }}{{ .Site.Title }}</title>
<meta charset="utf-8">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
<meta name="author" content="Austin Adams">
{{ .Hugo.Generator }}
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<!-- google doesn't use this, but oh well -->
<meta name="keywords" content="austin adams, linux, screamingmoron, austin j adams, ausbin, austin, georgia, marietta, kennesaw state university, georgia tech">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ if .Params.hasmath }}
<!-- If this causes breakage in the future, see:
https://gohugo.io/tutorials/mathjax/#issues-with-markdown -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$'], ['\\[','\\]']],
processEscapes: true,
}
});
</script>
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{{ end }}
</head>
<body>
<div id="container">
<header>
<h1 id="name"><a href="{{ .Site.BaseURL }}">Austin Adams</a></h1>
{{ if $isBlog }}
<div id="tagline"><a href="/blog/">The Blog</a></div>
{{ else }}
<div id="tagline">{{ .Site.Params.tagline }}</div>
{{ end }}
<nav>
<ul id="navigation">
<li><a class="navlink" href="/blog/">blog</a></li><!--
--><li><a class="navlink" href="/projects/">projects</a></li><!--
--><li><a class="navlink" href="/about/">about</a></li><!--
--><li><a class="navlink" href="/cv.pdf">résumé</a></li><!--
--><li><a class="navlink" id="emailaddr" title="hi@austinjadams.com" href="mailto:hi@austinjadams.com">contact</a></li>
</ul>
</nav>
</header>
<div id="content">
{{ if .IsHome }}
{{ partial "home.html" . }}
{{ else if .IsNode }}
{{ partial "post_list.html" . }}
{{ else if (eq .Section "blog") }}
{{ partial "post.html" . }}
{{ else }}
{{/* Info pages */}}
{{ .Content }}
{{ end }}
</div>
</div>
</body>
</html>
<!-- vim: set ts=2 sw=2 : -->
|