Sha256: e0719feee3f0b36708b8678cedb6fa67227be1f8839120e75ecfe67d0c6aea85

Contents?: true

Size: 1.87 KB

Versions: 12

Compression:

Stored size: 1.87 KB

Contents

{%- comment -%}

Footer

@param :col_1 [HTML] Contenido
@param :col_2 [HTML] Contenido
@param :col_3 [HTML] Contenido
@param :col_4 [HTML] Contenido
{%- endcomment -%}

{%- 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="d-flex justify-content-center background-size-cover background-position-top-left background-image-footer">
  <div class="row row-cols-md-1 row-cols-lg-3 justify-content-center container-lg mx-auto pt-150 pb-5 f-14 px-4">
    <div class="col-12 px-3 content">
      {{ include.col_1 }}

      <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 %}

        {%- if site.activity_pub_profile -%}
          <li>
            <span>
              {{- site.i18n.fediverse -}}
            </span>
            <span>
              @{{ site.activity_pub_profile -}}
            </span>
          </li>
        {%- endif -%}
      </ul>
    </div>

    <div class="col-12 px-3 pt-5 pt-lg-0 content">
      {{ include.col_2 }}
    </div>
    
    <div class="col-12 px-3 pt-5 pt-lg-0">
      <div class="row flex-row">
        <div class="col content">
          {{ include.col_3 }}
        </div>
        <div class="col content">
          {{ include.col_4 }}
        </div>
      </div>
    </div>
  </div>
</footer>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
compost-jekyll-theme-0.3.8 _includes/footer.html
compost-jekyll-theme-0.3.7 _includes/footer.html
compost-jekyll-theme-0.3.6 _includes/footer.html
compost-jekyll-theme-0.3.5 _includes/footer.html
compost-jekyll-theme-0.3.4 _includes/footer.html
compost-jekyll-theme-0.3.3 _includes/footer.html
compost-jekyll-theme-0.3.2 _includes/footer.html
compost-jekyll-theme-0.3.1 _includes/footer.html
compost-jekyll-theme-0.3.0 _includes/footer.html
compost-jekyll-theme-0.2.3 _includes/footer.html
compost-jekyll-theme-0.2.2 _includes/footer.html
compost-jekyll-theme-0.2.1 _includes/footer.html