website/_includes/footer.html

47 lines
1.4 KiB
HTML
Raw Normal View History

2018-08-17 17:18:40 +00:00
<footer class="site-footer h-card">
<data class="u-url" href="{{ '/' | relative_url }}"></data>
<div class="wrapper">
<h2 class="footer-heading">
{{ site.title | escape }}
</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li class="p-name">
<img id="personal-logo" src="{{ '/assets/main/personal-logo.jpg' | relative_url }}" title="Yep, that's my profile picture"> &nbsp;
{%- if site.author -%}
{{ site.author | escape }}
{%- else -%}
{{ site.title | escape }}
{%- endif -%}
</li>
{%- if site.email -%}
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
{%- endif -%}
</ul>
</div>
<div class="footer-col footer-col-2">
{%- include social.html -%}
</div>
<div class="footer-col footer-col-3">
<p>{{- site.description | escape -}}</p>
</div>
</div>
<div class="site-credits">
Built with <a href="https://jekyllrb.com/">Jekyll</a> and hosted by <a href="https://github.com">GitHub</a> <br>
<span class="copyright">Copyright (I think?) © <span class="date-year"></span></span>
</div>
</div>
<script>
const dateYear = document.querySelector(".date-year");
dateYear.innerText = `${new Date().getFullYear()}`;
</script>
</footer>