Add dynamic work experience
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Marko Korhonen 2023-04-13 15:54:53 +03:00
parent bd183481c9
commit 71c6694c09
3 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
designation = "Software developer"
resume = "files/cv-eng.pdf"
summary = "I am a passionate software engineer with 2 years of working experience. I also have a passion for open source, Linux, and servers."
summary = "I am a passionate software engineer with $workingExperienceYears years of working experience. I also have a passion for open source, Linux, and servers."
[section]
name = "About"

View file

@ -1,6 +1,6 @@
designation = "Ohjelmistokehittäjä"
resume = "files/cv-fin.pdf"
summary = "Olen innokas ohjelmistokehittäjä kahden vuoden työkokemuksella. Tykkään paljon myös avoimesta lähdekoodista, Linuxista ja servereistä."
summary = "Olen innokas ohjelmistokehittäjä $workingExperienceYears vuoden työkokemuksella. Tykkään paljon myös avoimesta lähdekoodista, Linuxista ja servereistä."
[section]
name = "Yleistä"

View file

@ -23,8 +23,8 @@
</h5>
{{ end }}
<p class="p-1 text-justify">
{{ .summary | markdownify }}
</p>
{{ replace .summary "$workingExperienceYears" (sub now.Year 2020) | markdownify }}
</p>
<div class="text-container ml-auto">
<ul class="social-link d-flex">
{{ range .socialLinks }}
@ -33,8 +33,6 @@
<a href="mailto:{{ .url }}" title="{{ .name }}" target="_blank" rel="noopener"><i class="{{ .icon }}"></i></a>
{{ else if eq .name (i18n "phone") }}
<a href="tel:{{ .url }}" title="{{ .name }}" target="_blank" rel="noopener"><i class="{{ .icon }}"></i></a>
{{ else if eq .name "Fediverse" }}
<a href="{{ .url }}" title="{{ .name }}" target="_blank" rel="noopener me"><i class="{{ .icon }}"></i></a>
{{ else }}
<a href="{{ .url }}" title="{{ .name }}" target="_blank" rel="noopener"><i class="{{ .icon }}"></i></a>
{{ end }}