web/_includes/footer.html
2021-02-28 05:42:24 +08:00

43 lines
1.3 KiB
HTML

<!--
The Footer
-->
<footer class="d-flex w-100 justify-content-center">
<div class="d-flex justify-content-between align-items-center">
<div class="footer-left">
<p class="mb-0">
©
<!-- years range -->
{% assign this_year = "now" | date: "%Y" | plus: 0 %}
{% assign years_range = this_year %}
{% if site.data.rights.first_publication_year < this_year
and site.data.rights.first_publication_year %}
{{ site.data.rights.first_publication_year }} -
{% endif %}
{{ this_year }}
<!-- copyright owner -->
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>.
<!-- copyright statement -->
{% if site.data.rights.brief %}
<span data-toggle="tooltip" data-placement="top"
title="{{ site.data.rights.verbose }}">
{{ site.data.rights.brief }}
</span>
{% endif %}
</p>
</div>
<div class="footer-right">
<p class="mb-0">
Powered by
<a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a>
with
<a href="https://github.com/cotes2020/jekyll-theme-chirpy"
target="_blank" rel="noopener">Chirpy</a>
theme.
</p>
</div>
</div> <!-- div.d-flex -->
</footer>