Sha256: 19435777365c4e8094f77c270dc156ce9d8ce9a8afba1c790f8ad3837e6b1fb0

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

<footer class="footer">
  <div class="footer-column">
    <small>
      &copy;&nbsp;
      {%- assign date_from = site.posts[-1].date | date_to_xmlschema -%}
      {%- assign year_from = date_from | date: '%Y' -%}
      {%- assign date_to   = site.time | date_to_xmlschema -%}
      {%- assign year_to   = date_to | date: '%Y' -%}
      {%- unless year_from == nil or year_from == year_to -%}
        <time datetime="{{ date_from }}">{{ year_from }}</time>-
      {%- endunless -%}
      <time datetime="{{ date_to }}">{{ year_to }}</time>
      {%- if site.author -%}
        &nbsp;<a href="{{ site.author.url }}" target="_blank">{{ site.author.name }}</a>
      {%- endif -%}
    </small>
    <br>
    <small>Powered by <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> & <a href="https://github.com/sziv2p/jekyll-theme-pure" target="_blank">Pure</a></small>
  </div>
  {% if site.data.social %}
    <div class="footer-column">
      <ul class="social-icons">
        {%- for social in site.data.social -%}
          <li class="social-icon-item">
            <a class="social-icon" href="{{ social.url }}" target="_blank">
              <i class="{{ social.icon | default: 'fas fa-link' }}" title="{{ social.title }}"></i>
            </a>
          </li>
        {%- endfor -%}
      </ul>
    </div>
  {% endif %}
</footer>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-scaffold-0.1.0 _includes/footer.html