Set up CV page

This commit is contained in:
Paul Nicoué 2025-05-30 17:15:12 +02:00
parent 18c60b22cd
commit 098b8b8e0d
14 changed files with 117 additions and 31 deletions

View file

@ -34,7 +34,11 @@
{% block header %}
<header>
<div class="header__logo"></div>
<a class="header__logo"
href="{{ logoHref }}"
target="_self"
aria-label="{{ logoAriaLabel }}">
</a>
</header>
{% endblock %}
@ -43,18 +47,22 @@
{% block footer %}
<footer>
<a class="footer__link footer__instagram-link"
href="{{ instagram }}"
target="_blank"
aria-label="Go to {{ site.title }}'s Instagram profile">
{{ svg('images/feather-instagram-custom.svg') | raw }}
</a>
<a class="footer__link footer__mail-link"
href="mailto:{{ email }}"
target="_blank"
aria-label="Write an email to {{ site.title }}">
{{ svg('images/feather-mail-custom.svg') | raw }}
</a>
{% if instagram.isNotEmpty %}
<a class="footer__link footer__instagram-link"
href="{{ instagram }}"
target="_blank"
aria-label="Go to {{ site.title }}'s Instagram profile">
{{ svg('images/feather-instagram-custom.svg') | raw }}
</a>
{% endif %}
{% if email.isNotEmpty %}
<a class="footer__link footer__mail-link"
href="mailto:{{ email }}"
target="_blank"
aria-label="Write an email to {{ site.title }}">
{{ svg('images/feather-mail-custom.svg') | raw }}
</a>
{% endif %}
</footer>
{% endblock %}

9
site/templates/cv.twig Normal file
View file

@ -0,0 +1,9 @@
{% extends "base.twig" %}
{% block main %}
<main class="cv">
<section class="cv__content">{{ cv | raw }}</section>
</main>
{% endblock %}