Files
site/layouts/partials/home/custom.html
T
protokeyandClaude Opus 5.5 a4d92fecd3 feat: English version of the site, CV as text
- add English language: config, menus, i18n, translations of all pages and posts
- CV page renders the full resume in both languages with PDF download buttons
- remove salary from CV PDFs, Telegram is @xs0k0lx everywhere, English level B2
- fix broken CV menu link, update theme submodule to Public/blowfish

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:54:42 +04:00

37 lines
1.3 KiB
HTML

{{ $p := .Params.card }}
<section class="vcard">
{{ with site.Params.homepage.homepageImage }}{{ with resources.Get . }}
<div class="vcard__bg" style="background-image:url('{{ .RelPermalink }}')"></div>
{{ end }}{{ end }}
<div class="vcard__box">
{{ with resources.Get $p.avatar }}
{{ $img := .Fill "256x256 webp q85" }}
<img class="vcard__avatar" src="{{ $img.RelPermalink }}" width="128" height="128" alt="{{ $p.name }}">
{{ end }}
<h1 class="vcard__name">{{ $p.name }}</h1>
{{ with $p.nick }}<p class="vcard__nick">aka {{ . }}</p>{{ end }}
<p class="vcard__role">{{ $p.role }}</p>
{{ with $p.status }}
<p class="vcard__status is-{{ .state | default "open" }}">
<span class="vcard__dot"></span>{{ .text }}
</p>
{{ end }}
<ul class="vcard__links">
{{ range $p.contacts }}
<li>
<a href="{{ .url }}"{{ if hasPrefix .url "http" }} target="_blank" rel="noopener me"{{ end }}>
{{ with .icon }}<span class="vcard__icon">{{ partial "icon.html" . }}</span>{{ end }}
<span>{{ .label }}</span>
</a>
</li>
{{ end }}
</ul>
{{ with $p.more }}<a class="vcard__more" href="{{ . | relLangURL }}">{{ i18n "moreAboutMe" }}</a>{{ end }}
</div>
</section>