Sha256: 145b34d592ad285830b73ff6d75bf012404b6685d9b28e401d0aeca186c2dbd5

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

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="border-top pt-3 container">
  <div class="row">
    <div class="col">
      {%- if include.footer -%}
        {% assign editorial = site.posts | find: 'layout', 'about' %}
        {% include_cached editorial.html editorial=editorial %}
      {%- endif -%}
    </div>

    <div class="col d-flex flex-column align-items-end justify-content-end">
      <ul class="list-unstyled">
        {% 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>

      {{ site.i18n.footer.made_with_sutty | markdownify }}
    </div>
  </div>
</footer>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
editorial-autogestiva-jekyll-theme-0.4.2 _includes/footer.html
editorial-autogestiva-jekyll-theme-0.4.1 _includes/footer.html
editorial-autogestiva-jekyll-theme-0.4.0 _includes/footer.html