Sha256: d4ec9fe99cd58a2b7739193d5ea28811cf08d789909b5e280663314ddffe920b

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 KB

Contents

<footer class="footer">
  <div class="footer-column">
    <p>
      <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 -%}
        . All right reserved.
      </small>
    </p>
    <p>
      <small>
        Powered by <a href="https://github.com/JustSoval/Coppermind" target="_blank">Coppermind</a>
      </small>
    </p>
  </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

4 entries across 4 versions & 1 rubygems

Version Path
coppermind-3.2 _includes/footer.html
coppermind-3.1 _includes/footer.html
coppermind-3.0 _includes/footer.html
coppermind-2.3 _includes/footer.html