More resume updates

This commit is contained in:
Eryn Wells 2021-10-05 20:44:33 -07:00
parent 43cfec4572
commit 85f90a064f
3 changed files with 32 additions and 2 deletions

View file

@ -57,6 +57,8 @@ type: resume
## Education
Oberlin College, BA in Computer Science with Honors, 2010
{{< resume_flex 2010 >}}
Oberlin College, BA in Computer Science with Honors
{{< /resume_flex >}}
[wwdc21-totp-video]: https://developer.apple.com/videos/play/wwdc2021/10105/

View file

@ -0,0 +1,18 @@
<header class="flex-date">
{{ .Inner }}
<span class="date">
{{ if .IsNamedParams }}
{{ with .Get "from" }}
<time datetime="{{ . }} ">{{ . }}</time>
{{ end }}
to
{{ with .Get "to" }}
<time datetime="{{ . }}">{{ . }}</time>
{{ else }}
present
{{ end }}
{{ else }}
{{ .Get 0 }}
{{ end }}
</span>
</header>

View file

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