Sha256: 0344db946a936e016e5f1b19b5b62dc2a16a781321d696fa0bd60f86ed6e953c

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

<div class="menu-window" id="menu-window">
    <nav class="menu" id="menu">
        <div class="menu-container">

            <!-- Header -->
            <header class="menu-header">
                <div class="menu-header-left">
                    <button class="icon-button show-on-mobile" id="close-menu">
                        <span class="fas fa-chevron-left"></span>
                    </button>
                </div>
                <div class="menu-header-right">
                    <a class="menu-title" href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">
                        {{ site.title }}
                    </a>
                </div>
            </header>

            <!-- Menu Links -->
            <ul class="menu-links">
                {%- for link in site.links -%}
                    <li>
                        {%- if link.direct -%}
                            <a href="{{ link.url }}">
                                {{ link.text }}
                            </a>
                        {%- else -%}
                            <a href="{{ link.url | prepend: site.baseurl | prepend: site.url }}">
                                {{ link.text }}
                            </a>
                        {%- endif -%}
                    </li>
                {%- endfor -%}
            </ul>

            <!-- Menu Controls -->
            <div class="menu-controls">
                <button class="icon-button" id="toggle-darkmode">
                    <span class="fas fa-moon"></span>
                </button>
            </div>

        </div>
    </nav>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-peaceful-gates-1.2.0 _includes/menu.html