Personal Website, vers. 1 (pushed far to late)
This commit is contained in:
commit
c8df66d3da
103 files changed
+8977
No files matched your search
@@ -0,0 +1,42 @@
|
||||
{% from "partials/macros.njk" import icon %}
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<div class="site-footer__grid">
|
||||
<div class="site-footer__intro">
|
||||
<a class="brand brand--footer" href="{{ url('home') }}">
|
||||
<img class="brand__mark" src="/avatar.png" width="36" height="36" alt="">
|
||||
<span class="brand__name">{{ site.name | lower }}</span>
|
||||
</a>
|
||||
{% if site.footer %}<p class="site-footer__note">{{ site.footer | l }}</p>{% endif %}
|
||||
</div>
|
||||
|
||||
<nav class="site-footer__col" aria-label="{{ t('footer.pages') }}">
|
||||
<h2 class="site-footer__heading">{{ t('footer.pages') }}</h2>
|
||||
<ul>
|
||||
{% for item in nav %}<li><a href="{{ item.href }}">{{ item.label }}</a></li>{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{% if site.email or site.links.length %}
|
||||
<div class="site-footer__col">
|
||||
<h2 class="site-footer__heading">{{ t('footer.elsewhere') }}</h2>
|
||||
<ul>
|
||||
{% if site.email %}<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>{% endif %}
|
||||
{% for link in site.links %}
|
||||
<li><a href="{{ link.url }}" rel="me noopener">{{ link.label | l }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="site-footer__bottom">
|
||||
<p>© {{ year }} {{ site.name }}</p>
|
||||
<ul class="site-footer__legal">
|
||||
{% if content.pages.privacy %}<li><a href="{{ url('privacy') }}">{{ t('footer.privacy') }}</a></li>{% endif %}
|
||||
{% if site.source %}<li><a href="{{ site.source }}">{{ t('footer.source') }}</a></li>{% endif %}
|
||||
<li><a href="#main" class="to-top">{{ t('footer.top') }} {{ icon('arrow-up') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
Reference in new issue
Block a user