Sha256: 8328dadc1d66bba9f94cd6a244c8b53817068490b82302d9c6d18a18fdf31f97

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

<footer id="footer" class="site-footer">
  <div class="wrapper">
    <p class="feed-subscribe">
      <a href="{{ 'feed.xml' | relative_url }}">
        <i class="feed-icon fas fa-rss"></i><span>Subscribe</span>
      </a>
    </p>

    {% if site.data.social %}
      <div class="social-icons">
        {% for social in site.data.social %}
          <a class="social-icon" href="{{ social.url }}"><i class="{{ social.icon | default: 'fas fa-link' }} fa-2x" title="{{ social.title }}"></i></a>
        {% endfor %}
      </div>
    {% endif %}

    <div class="copyright">
      {% assign year_from = site.posts[-1].date | date: '%Y' %}
      {% assign year_to   = site.time | date: '%Y' %}
      {% if year_from == nil or year_from == year_to %}
        {% assign year_string = year_from %}
      {% else %}
        {% assign year_string = year_from | append: '&nbsp;' | append: '-' | append: '&nbsp;' | append: year_to %}
      {% endif %}
      <p>© {{ year_string }} {% if site.author %}{{ site.author }}{% endif %}; Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://github.com/hszhakka/hamilton">Hamilton</a>. All rights reserved.</p>
    </div>
  </div>
</footer>
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hamilton-0.1.1 _includes/footer.html
hamilton-0.1.0 _includes/footer.html