all repos — nasg @ b4d73208df93b6bccc595e46636c5347cbfe675a

templates/block_header_close.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
    <style media="all">
{% include 'style.css' %}
    </style>
</head>
<body>

<header class="content-header" id="main-header">
    <nav class="content-navigation">
        <ul>
            <li>
{% set cssclass = '' %}
{% if taxonomy is defined and taxonomy.name == '' %}
    {% set cssclass = 'active' %}
{% endif %}
                <a title="home" href="/" class="{{ cssclass }}">
                    <svg class="icon" width="16" height="16"><use xlink:href="#icon-home" /></svg>
                    home
                </a>
            </li>
{% set cssclass = '' %}
{% if (post is defined and post.category ==  'photo' ) or ( taxonomy is defined and taxonomy.name == 'photo' ) %}
    {% set cssclass = 'active' %}
{% endif %}
            <li>
                <a title="photos" href="/category/photo/" class="{{ cssclass }}">
                    <svg class="icon" width="18" height="16"><use xlink:href="#icon-photo" /></svg>
                    photos
                </a>
            </li>
{% set cssclass = '' %}
{% if (post is defined and post.category ==  'journal' ) or ( taxonomy is defined and taxonomy.name == 'journal' ) %}
    {% set cssclass = 'active' %}
{% endif %}
            <li>
                <a title="journal" href="/category/journal/" class="{{ cssclass }}">
                    <svg class="icon" width="16" height="16"><use xlink:href="#icon-journal" /></svg>
                    journal
                </a>
            </li>
{% set cssclass = '' %}
{% if (post is defined and post.category ==  'article' ) or ( taxonomy is defined and taxonomy.name == 'article' ) %}
    {% set cssclass = 'active' %}
{% endif %}
            <li>
                <a title="IT" href="/category/article/" class="{{ cssclass }}">
                    <svg class="icon" width="16" height="16"><use xlink:href="#icon-article" /></svg>
                    IT
                </a>
            </li>
{% set cssclass = '' %}
{% if (post is defined and post.category ==  'note' ) or ( taxonomy is defined and taxonomy.name == 'note' ) %}
    {% set cssclass = 'active' %}
{% endif %}
            <li>
                <a title="notes" href="/category/note/" class="{{ cssclass }}">
                    <svg class="icon" width="16" height="16"><use xlink:href="#icon-note" /></svg>
                    notes
                </a>
            </li>
        </ul>
    </nav>

    <form role="search" method="get" class="search-form" action="/search">
        <label for="search" class="hide">Search</label>
        <input type="search" class="search-field" placeholder="search..." value="" name="s" id="s" title="Search for:" />
        <input type="submit" class="search-submit" value="Go ➡" />
    </form>

    <br class="clear" />
</header>