mirror of
https://github.com/apricote/apricote.de.git
synced 2026-02-07 10:16:59 +00:00
feat: initial content
This commit is contained in:
parent
aba4b1c795
commit
212a1151d5
17 changed files with 550 additions and 3 deletions
12
layouts/shortcodes/about-me-interests.html
Normal file
12
layouts/shortcodes/about-me-interests.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<ul>
|
||||
{{ $interests := $.Site.Data.resume.interests }} {{ range $interests }}
|
||||
<li>
|
||||
<span style="font-weight: 600">{{ .name }}</span>
|
||||
<span style="font-size: 0.8em">
|
||||
{{ range .keywords}}
|
||||
<code>{{.}}</code>
|
||||
{{ end}}
|
||||
</span>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
12
layouts/shortcodes/about-me-skills.html
Normal file
12
layouts/shortcodes/about-me-skills.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<ul>
|
||||
{{ $skills := $.Site.Data.resume.skills }} {{ range $skills }}
|
||||
<li>
|
||||
<span style="font-weight: 600">{{ .name }}</span>
|
||||
<span style="font-size: 0.8em">
|
||||
{{ range .keywords}}
|
||||
<code>{{.}}</code>
|
||||
{{ end}}
|
||||
</span>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
29
layouts/shortcodes/projects.html
Normal file
29
layouts/shortcodes/projects.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{{ $projects := $.Site.Data.resume.projects }} {{ range $projects }}
|
||||
|
||||
<div style="margin-bottom: 2em">
|
||||
<div style="font-weight: 200">
|
||||
{{ if not (isset . "endDate")}} {{ .startDate }} - Current {{ else }} {{
|
||||
.startDate }} - {{ .endDate }} {{end}}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a href="{{.url}}" target="_blank" style="font-weight: 600">{{ .name }}</a>
|
||||
</div>
|
||||
|
||||
<div style="font-size: 0.8em">
|
||||
{{ range .keywords}}
|
||||
<code>{{.}}</code>
|
||||
{{ end}}
|
||||
</div>
|
||||
|
||||
<div>{{.summary | markdownify}}</div>
|
||||
|
||||
{{ if (isset . "highlights") }}
|
||||
<ul>
|
||||
{{ range .highlights }}
|
||||
<li>{{.}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
31
layouts/shortcodes/work.html
Normal file
31
layouts/shortcodes/work.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{{ $jobs := $.Site.Data.resume.work }} {{ range $jobs }}
|
||||
|
||||
<div style="margin-bottom: 2em">
|
||||
<div style="font-weight: 200">
|
||||
{{ if not (isset . "endDate")}} {{ .startDate }} - Current {{ else }} {{
|
||||
.startDate }} - {{ .endDate }} {{end}}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span style="font-weight: 600">{{ .position }}</span>
|
||||
at
|
||||
<a href="{{.website}}" target="_blank">{{ .name }}</a>
|
||||
</div>
|
||||
|
||||
<div style="font-size: 0.8em">
|
||||
{{ range .keywords}}
|
||||
<code>{{.}}</code>
|
||||
{{ end}}
|
||||
</div>
|
||||
|
||||
<div>{{.summary | markdownify}}</div>
|
||||
|
||||
{{ if (isset . "highlights") }}
|
||||
<ul>
|
||||
{{ range .highlights }}
|
||||
<li>{{.}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
2
layouts/shortcodes/years-till-today.html
Normal file
2
layouts/shortcodes/years-till-today.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{{ $diff := now.Sub (time (.Get 0)) }} {{ $years := div (div $diff.Hours 24) 365
|
||||
}} {{ math.Floor $years }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue