_includes/footer.html in better-minima-0.0.1 vs _includes/footer.html in better-minima-0.1.0
- old
+ new
@@ -1,37 +1,28 @@
<footer class="site-footer h-card">
<data class="u-url" href="{{ "/" | relative_url }}"></data>
<div class="wrapper">
- <div class="footer-col-wrapper">
- <div class="footer-col">
- <p class="feed-subscribe">
- <a href="{{ 'feed.xml' | relative_url }}">
- <svg class="svg-icon orange">
- <use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
- </svg><span>Subscribe</span>
+ {%- if site.author %}
+ <div class="footer-content">
+ {% if site.author.name -%}
+ © 2020 {{ site.author.name | escape }}
+ {% endif -%}
+ {% if site.author.email -%}
+ <a class="u-email" href="mailto:{{ site.author.email }}">
+ <svg class="svg-icon" viewbox="0 0 24 24">
+ <use xlink:href="{{ 'assets/better-minima-social-icons.svg#mail' | relative_url }}"></use>
+ </svg>
</a>
- </p>
- {%- if site.author %}
- <ul class="contact-list">
- {% if site.author.name -%}
- <li class="p-name">{{ site.author.name | escape }}</li>
- {% endif -%}
- {% if site.author.email -%}
- <li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
- {%- endif %}
- </ul>
- {%- endif %}
+ {%- endif %}
+ <a href="{{ 'feed.xml' | relative_url }}">
+ <svg class="svg-icon" viewbox="0 0 24 24">
+ <use xlink:href="{{ 'assets/better-minima-social-icons.svg#rss' | relative_url }}"></use>
+ </svg>
+ </a>
</div>
- <div class="footer-col">
- <p>{{ site.description | escape }}</p>
- </div>
- </div>
-
- <div class="social-links">
- {%- include social.html -%}
- </div>
+ {%- endif %}
</div>
</footer>