Add some style to this resume; fill in some AuthExp stuff

This commit is contained in:
Eryn Wells 2021-10-05 20:26:33 -07:00
parent 9174ce81e5
commit 43cfec4572
4 changed files with 58 additions and 22 deletions

View file

@ -0,0 +1,25 @@
{{ define "main" }}
<article id="resume" class="post-single">
<header class="post-title">
<h1>{{ .Title }}</h1>
</header>
<section class="post-content">
{{ .Content }}
</section>
<!-- Post Nav -->
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}<!---->
{{ if and (gt (len $pages) 1) (in $pages . ) }}
<nav class="post-nav">
{{ with $pages.Next . }}
<a class="prev" href="{{ .Permalink }}"><span></span><span>{{ .Name }}</span></a>
{{ end }} {{ with $pages.Prev . }}
<a class="next" href="{{ .Permalink }}"><span>{{ .Name }}</span><span></span></a>
{{ end }}
</nav>
{{ end }}
</article>
{{ end }}

View file

@ -0,0 +1,4 @@
<header class="flex-date">
<h3>{{ .Get "company" }}: {{ .Get "team" }}</h3>
<time class="date">{{ .Get "from" }} to {{ with .Get "to" }}{{ . }}{{ else }}present{{ end }}</time>
</header>