More resume updates
This commit is contained in:
parent
43cfec4572
commit
85f90a064f
3 changed files with 32 additions and 2 deletions
|
@ -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/
|
18
layouts/shortcodes/resume_flex.html
Normal file
18
layouts/shortcodes/resume_flex.html
Normal 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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue