Sha256: 634a247037586a119392c4011c0f28072f7bd9cbf0a256c033aa8ea49c04afd9

Contents?: true

Size: 1.41 KB

Versions: 4

Compression:

Stored size: 1.41 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 %}

      {% if site.author %}
        {% if site.email %}
          <p>© {{ year_string }} <a class="u-email" href="mailto:{{ site.email }}">{{ site.author }}</a>; All rights reserved.</p>
        {% else %}
          <p>© {{ year_string }} {{ site.author }}; All rights reserved.</p>
        {% endif %}
      {% endif %}

      <p>
        Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://github.com/hszhakka/hamilton">Hamilton</a>
      </p>

    </div>
  </div>
</footer>
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hamilton-0.2.2 _includes/footer.html
hamilton-0.2.1 _includes/footer.html
hamilton-0.2.0 _includes/footer.html
hamilton-0.1.2 _includes/footer.html