Add themes in-tree

This commit is contained in:
Dave Gallant
2024-01-07 08:49:07 -05:00
parent a5a09666f5
commit 604f3aaa4c
158 changed files with 19674 additions and 47 deletions

View File

@@ -0,0 +1,15 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.awards }}
<div class="jr__list jr-awards__list">
{{ range . }}
<div class="jr__item jr-awards__item">
<div class="jr__item-meta">
<div class="jr-awards__title">{{ .title }}</div>
<div class="jr__date jr-awards__date">{{ .date }}</div>
<div class="jr-awards__awarder">{{ .awarder }}</div>
</div>
<p class="jr__item-content">{{ .summary }}</p>
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,10 @@
{{ if .image }}
<div class="jr-basics__image">
<img
src="{{ .image }}"
alt="Picture{{ with .name }} of {{ . }}{{ end }}"
width="250"
height="250"
/>
</div>
{{ end }}

View File

@@ -0,0 +1,72 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.basics }}
<div class="jr__item jr-basics__item">
{{ partial "json-resume/basics-image.html" . }}
{{ with .name }}
<div class="jr-basics__name">{{ . }}</div>
{{ end }}
{{ with .label }}
<div class="jr-basics__label">{{ . }}</div>
{{ end }}
{{ with .email }}
<div class="jr-basics__email">{{ . }}</div>
{{ end }}
{{ with .phone }}
<div class="jr-basics__phone">{{ . }}</div>
{{ end }}
{{ with .url }}
<div class="jr-basics__url">
<a href="{{ . }}">{{ . }}</a>
</div>
{{ end }}
{{ with .summary }}
<div class="jr-basics__summary">{{ . }}</div>
{{ end }}
{{ with .location }}
{{ with .address }}
<div class="jr-basics__location-address">{{ . }}</div>
{{ end }}
{{ with .postalCode }}
<div class="jr-basics__location-postalCode">{{ . }}</div>
{{ end }}
{{ with .city }}
<div class="jr-basics__location-city">{{ . }}</div>
{{ end }}
{{ with .countryCode }}
<div class="jr-basics__location-countryCode">{{ . }}</div>
{{ end }}
{{ with .region }}
<div class="jr-basics__location-region">{{ . }}</div>
{{ end }}
{{ end }}
{{ with where .profiles "username" "ne" nil }}
<hr />
<div class="jr-basics__profile jr-basics__profile--col">
{{ range . }}
{{ partial "simple-icon.html" (dict "url" .url "network" .network "username" .username) }}
{{ end }}
</div>
{{ end }}
{{ with where .profiles "username" "eq" nil }}
<hr />
<div class="jr-basics__profile jr-basics__profile--row">
{{ range . }}
{{ partial "simple-icon.html" (dict "url" .url "network" .network "username" .username) }}
{{ end }}
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,22 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.certificates }}
<div class="jr__list jr-certificates__list">
{{ range . }}
<div class="jr__item jr-certificates__item">
<div class="jr__item-meta">
<div class="jr-certificates__name">
{{ if .url }}
<a href="{{ .url }}">
{{ .name }}
</a>
{{ else }}
<span>{{ .name }}</span>
{{ end }}
</div>
<div class="jr-certificates__date">{{ .date }}</div>
<div class="jr-certificates__issuer">{{ .issuer }}</div>
</div>
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,11 @@
<div class="jr__date-range">
<span>{{ .context.startDate }}</span>
<span>-</span>
<span>
{{- with .context.endDate -}}
{{- . -}}
{{- else -}}
{{ .site.Params.jsonResume.present | default "present" }}
{{- end -}}
</span>
</div>

View File

@@ -0,0 +1,32 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.education }}
<div class="jr__list jr-education__list">
{{ range . }}
<div class="jr__item jr-education__item">
<div class="jr__item-meta">
<div class="jr-education__area">{{ .area }} ({{ .studyType }})</div>
{{ partial "json-resume/duration.html" (dict "context" . "site" $.Site) }}
{{ if .institution }}
<div class="jr-education__institution">
{{ if .url }}
<a href="{{ .url }}">{{ .institution }}</a>
{{ else }}
<span>{{ .institution }}</span>
{{ end }}
</div>
{{ end }}
</div>
<p class="jr-education__score">
{{ .score }}
</p>
{{ with .courses }}
<ul class="jr-education__courses">
{{ range . }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,13 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.interests }}
<div class="jr__list jr-interests__list">
<ul>
{{ range . }}
<li class="jr__item jr-interests__item">
{{ .name }} —
{{ delimit .keywords ", " }}
</li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@@ -0,0 +1,13 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.languages }}
<div class="jr__list jr-languages__list">
<ul>
{{ range . }}
<li class="jr__item jr-languages__item">
{{ .language }} —
{{ .fluency }}
</li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@@ -0,0 +1,48 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.projects }}
<div class="jr__list jr-projects__list">
{{ range . }}
<div class="jr__item jr-projects__item">
<div class="jr__item-meta">
<div class="jr-projects__roles">
{{ delimit .roles ", " }}
</div>
{{ partial "json-resume/duration.html" (dict "context" . "site" $.Site) }}
<div class="jr-projects__name">
{{ if .url }}
<a href="{{ .url }}">{{ .name }}</a>
{{ else }}
<span>{{ .name }}</span>
{{ end }}
{{ with .type }}
({{ . }})
{{ end }}
{{ with .description }}
<span></span>
<span class="jr-projects__description">{{ . }}</span>
{{ end }}
</div>
{{ with .entity }}
<div class="jr-projects__entity">{{ . }}</div>
{{ end }}
</div>
<div class="jr__item-content">
{{ with .highlights }}
<ul>
{{ range . }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</div>
{{ with .keywords }}
<p>
{{ delimit . ", " }}
</p>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,24 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.publications }}
<div class="jr__list jr-publications__list">
{{ range . }}
<div class="jr__item jr-publications__item">
<div class="jr__item-meta">
<div class="jr-publications__name">
{{ if .url }}
<a href="{{ .url }}">{{ .name }}</a>
{{ else }}
<span>{{ .name }}</span>
{{ end }}
</div>
<div class="jr__date jr-publications__release-date">
{{ .releaseDate }}
</div>
<div class="jr-publications__publisher">{{ .publisher }}</div>
</div>
<p class="jr__item-content">{{ .summary }}</p>
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,11 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.references }}
<div class="jr__list jr-references__list">
{{ range . }}
<blockquote class="jr__item jr-references__item">
<p>{{ .reference }}</p>
<p>— {{ .name }}</p>
</blockquote>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,17 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.skills }}
<div class="jr__list jr-skills__list">
<ul>
{{ range . }}
<li class="jr__item jr-skills__item">
<p><strong>{{ .name }} ({{ .level }})</strong></p>
{{ with .keywords }}
<p>
{{ delimit . ", " }}
</p>
{{ end }}
</li>
{{ end }}
</ul>
</div>
{{ end }}

View File

@@ -0,0 +1,35 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.volunteer }}
<div class="jr__list jr-volunteer__list">
{{ range . }}
<div class="jr__item jr-volunteer__item">
<div class="jr__item-meta">
<div class="jr-volunteer__position">{{ .position }}</div>
{{ partial "json-resume/duration.html" (dict "context" . "site" $.Site) }}
{{ if .organization }}
<div class="jr-volunteer__organization">
{{ if .url }}
<a href="{{ .url }}">{{ .organization }}</a>
{{ else }}
<span>{{ .organization }}</span>
{{ end }}
</div>
{{ end }}
</div>
<div class="jr__item-content">
{{ with .summary }}
<p class="jr-volunteer__summary">{{ . }}</p>
{{ end }}
{{ with .highlights }}
<ul class="jr-volunteer__highlights">
{{ range . }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
{{ end }}
</div>
{{ end }}

View File

@@ -0,0 +1,47 @@
{{ $cv := index $.Site.Data.json_resume $.Site.Language.Lang }}
{{ with $cv.work }}
<div class="jr__list jr-work__list">
{{ range . }}
<div class="jr__item jr-work__item">
<div class="jr__item-meta">
<div class="jr-work__position">{{ .position }}</div>
{{ partial "json-resume/duration.html" (dict "context" . "site" $.Site) }}
{{ if or .name .location }}
<div class="jr-work__name">
{{ if .name }}
{{ if .url }}
<a href="{{ .url }}">
{{ .name }}
</a>
{{ else }}
<span>{{ .name }}</span>
{{ end }}
{{ end }}
{{ with .description }}
<span></span>
<span class="jr-work__description">{{ . }}</span>
{{ end }}
</div>
{{ end }}
{{ with .location }}
<div class="jr-work__location">{{ . }}</div>
{{ end }}
</div>
<div class="jr__item-content">
{{ with .summary }}
<p class="jr-work__summary">{{ . }}</p>
{{ end }}
{{ with .highlights }}
<ul class="jr-work__highlights">
{{ range . }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</div>
</div>
{{ end }}
</div>
{{ end }}