Sha256: 79b972a7037b9073d946125b93704ba626c59941d854b42b0259c0950db9d0b6

Contents?: true

Size: 1.24 KB

Versions: 11

Compression:

Stored size: 1.24 KB

Contents

<s-appbar>
    <s-icon-button slot="navigation" onclick="document.querySelector('#drawer').toggle()">
        <s-icon type="menu"></s-icon>
    </s-icon-button>
    <!-- onclick="window.open('{{ site.url }}', '_self')" -->
    <a class="app-bar-title" slot="headline" href="/"> {{ site.title }} </a>

    {% if site.tags and site.tags.size > 0 %}
    <s-popup-menu slot="action">
        <s-button type="text" slot="trigger" class="app-bar-action">
            Tags
            <s-icon type="arrow_drop_down" slot="end"></s-icon>
        </s-button>
        {% for tag in site.tags %}
        <s-popup-menu-item onclick="selfOpen('/tag/{{ tag[0] | slugify }}')">{{ tag[0] }}</s-popup-menu-item>
        {% endfor %}
    </s-popup-menu>
    {% endif %}

    {% if site.categories and site.categories.size > 0 %}
    <s-popup-menu slot="action">
        <s-button type="text" slot="trigger" class="app-bar-action">
            Categories
            <s-icon type="arrow_drop_down" slot="end"></s-icon>
        </s-button>
        
        {% for category in site.categories %}
        <s-popup-menu-item onclick="selfOpen('/category/{{ category[0] | slugify }}')">{{ category[0] }}</s-popup-menu-item>
        {% endfor %}
    </s-popup-menu>
    {% endif %}
</s-appbar>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sobekyll-0.2.10 _includes/header.html
sobekyll-0.2.9 _includes/header.html
sobekyll-0.2.8 _includes/header.html
sobekyll-0.2.7 _includes/header.html
sobekyll-0.2.6 _includes/header.html
sobekyll-0.2.5 _includes/header.html
sobekyll-0.2.4 _includes/header.html
sobekyll-0.2.3 _includes/header.html
sobekyll-0.2.2 _includes/header.html
sobekyll-0.2.1 _includes/header.html
sobekyll-0.2.0 _includes/header.html