Sha256: 803f2896ce34fc131fbecd7bcfdb0d571f323582c9a705ab1b79ae3f0e507e11

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 KB

Contents

<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
    {% include footer_custom.html %}
    <div class="col-md-4 d-flex align-items-center">
        <a href="/" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1">
            {%- if site.jekyll-twitter-bootstrap.logo.footer -%}
                {{ site.jekyll-twitter-bootstrap.logo.footer }}
            {%- else -%}
                <svg class="bi" width="30" height="24"><use xlink:href="/assets/svg/bootstrap-icons.svg#bootstrap"/></svg>
            {%- endif -%}
        </a>
        {%- assign copyright_year = 'now' | date: "%Y" -%}
        {%- if site.jekyll-twitter-bootstrap.copyright_year_start -%}
            {%- assign copyright_year = site.jekyll-twitter-bootstrap.copyright_year_start | append: "-" | append: copyright_year -%}
        {%- endif -%}
        <span class="mb-3 mb-md-0 text-muted">&copy; {{ copyright_year }} {{ site.title | escape }}</span>
    </div>
    {%- if titles_size > 0 -%}
        <ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
            {%- for path in page_paths -%}
                {%- assign this_page = site.pages | where: "path", path | first -%}
                {%- if this_page.title -%}
                    {%- if this_page.url == page.url -%}
                        {% assign class = 'text-decoration-underline' %}
                        {% assign aria = 'aria-current="page"' %}
                    {%- endif -%}
                    <li class="nav-item"><a href="{{ this_page.url | relative_url }}" class="nav-link px-2 text-muted {{ class }}" {{ aria }}>{{ this_page.title | escape }}</a></li>
                    {% assign class = nil %}
                    {% assign aria = nil %}
                {%- endif -%}
            {%- endfor -%}
        </ul>
    {%- endif -%}
</footer>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-twitter-bootstrap-5.3.0.dev5 _includes/footer.html