mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-26 18:30:28 +00:00
0d56036557
* Allow to optionally define website copyright holder name and url using site.copyright and site.copyright_url * Update _config.yml --------- Co-authored-by: iBug <git@ibugone.com>
22 lines
1.3 KiB
HTML
22 lines
1.3 KiB
HTML
<div class="page__footer-follow">
|
|
<ul class="social-icons">
|
|
{% if site.data.ui-text[site.locale].follow_label %}
|
|
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
|
{% endif %}
|
|
|
|
{% if site.footer.links %}
|
|
{% for link in site.footer.links %}
|
|
{% if link.label and link.url %}
|
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% unless site.atom_feed.hide %}
|
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
|
{% endunless %}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|