2021-12-30 22:58:11 +00:00
|
|
|
<!--
|
|
|
|
Omegamma - Hugo theme for ad5001.eu and related websites
|
|
|
|
|
|
|
|
Copyright (C) 2021-2022 Ad5001 <mail@ad5001.eu>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2021-09-27 19:33:08 +00:00
|
|
|
<div class="grid center">
|
2021-09-26 15:39:36 +00:00
|
|
|
{{ $blocks := index $.Site.Data.skills (.Get 0) }}
|
2021-09-28 14:47:14 +00:00
|
|
|
{{ $embedIcon := .Get 1 }}
|
2021-09-26 15:39:36 +00:00
|
|
|
{{ range $blocks }}
|
|
|
|
<div class="padding-container">
|
|
|
|
<div class="block-preview label expand">
|
|
|
|
<h2 class="flex">
|
2021-09-28 14:47:14 +00:00
|
|
|
{{ if $embedIcon }}
|
|
|
|
{{ $scratch := newScratch }}
|
|
|
|
{{ $scratch.Set "icn" "/icons/skills/" }}
|
|
|
|
{{ $scratch.Add "icn" .Icon }}
|
|
|
|
{{ $scratch.Add "icn" ".svg" }}
|
|
|
|
<span class="icon-larger-text">{{ partial "inline-svg.html" ($scratch.Get "icn") }}</span>
|
|
|
|
{{ else }}
|
|
|
|
<img src="/icons/skills/{{ .Icon }}.svg" loading="lazy" class="icon-larger-text" alt=""/>
|
|
|
|
{{ end }} {{ .Name }}
|
2021-09-26 15:39:36 +00:00
|
|
|
</h2>
|
|
|
|
{{ if .WorkedWith }}
|
|
|
|
<p>{{ i18n "workedWith" }} {{ .WorkedWith }}</p>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .Properties }}
|
|
|
|
<p>{{ i18n "properties" }} {{ .Properties }}</p>
|
|
|
|
{{ end }}
|
|
|
|
<p >{{ i18n .Text | markdownify }}</p>
|
|
|
|
{{ if .RelevantSoft }}
|
|
|
|
<p class="reduced-vertical-margin"><b>{{ i18n "relevantSoftware" }}</b></p>
|
|
|
|
<div class="grid flex">
|
|
|
|
{{ $scratch := newScratch }}
|
|
|
|
{{ range .RelevantSoft }}
|
2022-01-21 14:08:32 +00:00
|
|
|
{{ $scratch.Set "img" "/icons/apps/svg/" }}
|
2021-09-26 15:39:36 +00:00
|
|
|
{{ $scratch.Add "img" (lower .) }}
|
|
|
|
{{ $scratch.Add "img" ".svg" }}
|
|
|
|
{{ $scratch.Set "url" "https://apps.ad5001.eu/" }}
|
|
|
|
{{ $scratch.Add "url" (lower .) }}
|
|
|
|
{{ $scratch.Add "url" "/" }}
|
|
|
|
{{ $scratch.Add "relevant" (slice (dict "Image" ($scratch.Get "img") "Title" . "URL" ($scratch.Get "url") "Tag" true)) }}
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "links.html" ($scratch.Get "relevant") }}
|
|
|
|
</div>
|
2021-09-27 19:33:08 +00:00
|
|
|
<br>
|
2021-09-26 15:39:36 +00:00
|
|
|
{{ end }}
|
2021-09-28 14:47:14 +00:00
|
|
|
{{ if .Links }}
|
2021-09-26 15:39:36 +00:00
|
|
|
<div class="grid flex-right">
|
|
|
|
{{ partial "links.html" .Links }}
|
|
|
|
</div>
|
2021-09-28 14:47:14 +00:00
|
|
|
{{ end }}
|
2021-09-26 15:39:36 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|