beautifulSA-jekyll/_includes/footer.html
2020-04-24 00:30:01 +00:00

55 lines
2.0 KiB
HTML

<footer>
<div class="container beautiful-jekyll-footer">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center footer-links">
{%- for link in site.social-network-links -%}
{%- assign curkey = link[0] -%}
{%- assign element = site.data.SocialNetworks[curkey] -%}
{%- if curkey == 'rss' -%}
{%- capture url -%}{{ '/feed.xml' | relative_url }}{%- endcapture -%}
{%- else -%}
{%- assign value = site.social-network-links[curkey] -%}
{%- assign placeholder = "{value}" -%}
{%- capture url -%}{{ element.urlTemplate | replace: placeholder, value }}{%- endcapture -%}
{%- endif -%}
<li>
<a href="{{ url }}" title="{{ element.name }}">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="{{ element.icon }} fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">{{ element.name }}</span>
</a>
</li>
{%- endfor -%}
</ul>
<p class="copyright text-muted">
{% if site.author %}
{{ site.author }}
&nbsp;&bull;&nbsp;
{% endif %}
{{ site.time | date: '%Y' }}
{% if site.url-pretty %}
&nbsp;&bull;&nbsp;
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
{% endif %}
{% if site.matomo %}
{% if site.matomo.opt-out %}
&nbsp;&bull;&nbsp;
<a href="http://{{- site.matomo.uri -}}/index.php?module=CoreAdminHome&action=optOut" target="_blank" class="text_muted">Do-not-Track</a>
{% endif %}
{% endif%}
</p>
<!-- Please don't remove this, keep my open source work credited :) -->
<p class="theme-by text-muted">
Theme by
<a href="https://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
</p>
</div>
</div>
</div>
</footer>