Sha256: c3854ac7240e12653194e21a5caaf462d32074e26f5d4f4693589bd0ecafa7b4

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 KB

Contents

<div class="bw-back">
    <div class="bw-back-container">
        <!-- Site header -->
        <div class="bw-header">
            <button class="bw-action bw-show-on-mobile bw-close">
                <span class="fas fa-chevron-left"></span>
            </button>
            <a href="{{ site.url }}" class="bw-title bw-mega">{{ site.title }}</a>
        </div>

        <!-- Links Table -->
        <table class="bw-links">
            {% assign rowsize = 3 %}
            {% assign rows = site.links.size | times: 1.0 | divided_by: rowsize | ceil %}
            {% for i in (1..rows) %}
                {% assign offset = forloop.index0 | times: rowsize %}
                <tr>
                {% for link in site.links limit:rowsize offset:offset %}
                    <td>
                        <a href="{{ link.url }}">
                            {{ link.text }}
                        </a>
                    </td>
                {% endfor %}
                </tr>
            {% endfor %}

            <tr>
                {% if site.github_username %}
                    <td>
                        <a href="https://github.com/{{ site.github_username }}">
                            <span class='fab fa-github'></span>
                            {{ site.github_username }}
                        </a>
                    </td>
                {% endif %}
                {% if site.email_address %}
                    <td>
                        <a href="mailto://{{ site.email_address }}">
                            <span class="fas fa-envelope"></span>
                            Email
                        </a>
                    </td>
                {% endif %}
            </tr>
        </table>

        <!-- Footer -->
        <footer class="bw-footer">
            <p>{{ site.description }}</p>
        </footer>
    </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-backwhite-1.1.0 _includes/back.html