9d429fa749
* Fix absolute URL generation url and baseurl config for this theme deviates from jekyll standard, and that results in double inclusion of project path if this theme is used as project page. Switching to Jekyll accepted url usage so that absolute_url filter works. * Alternate links need to be aboslute * mention url and baseurl only need to be modified in local dev * Update readme on new url/baseurl setting changes
52 lines
2.0 KiB
HTML
52 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] -%}
|
|
<li>
|
|
{%- if curkey == 'rss' -%}
|
|
<a href="{{ '/feed.xml' | relative_url }}" title="{{ element.name }}">
|
|
{%- elsif curkey == 'yelp' -%}
|
|
<a href="https://{{ site.social-network-links[curkey] }}.yelp.com" title="{{ element.name }}">
|
|
{%- else -%}
|
|
<a href="{{element.baseURL}}{{ site.social-network-links[curkey] }}" title="{{ element.name }}">
|
|
{%- endif -%}
|
|
<span class="fa-stack fa-lg" aria-hidden="true">
|
|
<i class="fa fa-circle fa-stack-2x"></i>
|
|
<i class="fa {{ 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">
|
|
{{ site.author.name }}
|
|
•
|
|
{{ site.time | date: '%Y' }}
|
|
|
|
{% if site.url-pretty %}
|
|
•
|
|
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
|
|
{% endif %}
|
|
|
|
{% if site.matomo %}
|
|
{% if site.matomo.opt-out %}
|
|
•
|
|
<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>
|