Sha256: 4be3ef4674d938ca2f9ecc0e57ac03a9e303571529f440960e0824102c4e80e0

Contents?: true

Size: 921 Bytes

Versions: 3

Compression:

Stored size: 921 Bytes

Contents

{%- assign license = site.posts | find: 'layout', 'license' -%}
{%- assign code_of_conduct = site.posts | find: 'layout', 'code_of_conduct' -%}
{%- assign privacy_policy = site.posts | find: 'layout', 'privacy_policy' -%}

<footer class="p-3">
  <ul class="list-unstyled">
    {%- if site.activity_pub_profile -%}
      {{- site.i18n.footer.fediverse -}}
      <span> @{{ site.activity_pub_profile -}}</span>
      </p>
    {%- endif -%}

    {% if license %}
      <li>
        <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
      </li>
    {% endif %}

    {% if code_of_conduct %}
      <li>
        <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
      </li>
    {% endif %}

    {% if privacy_policy %}
      <li>
        <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
      </li>
    {% endif %}
  </ul>
</footer>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sutty-jekyll-theme-0.3.9 _includes/footer.html
sutty-jekyll-theme-0.3.8 _includes/footer.html
sutty-jekyll-theme-0.3.7 _includes/footer.html