Welcome to mirror list, hosted at ThFree Co, Russian Federation.

header.html « partials « layouts - github.com/tosi29/inkblotty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d84e7ca39532ba7400be596170274e2ca4df614e (plain)
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
<a href="#content">Skip to content</a>
<div class="wrapper">
    <header role="banner" class="banner widgets columns-1">
        <a href="/" rel="home">
            <h1 class="site">{{ .Site.Title }}</h1>
            <p></p>
        </a>
        {{- if .Site.Menus.main }}
        <nav role="navigation" aria-label="Primary Navigation">

            <ul class="menu">
                {{- $currentNode := . }}
                {{- range sort .Site.Menus.main }}
                {{- if .Name}}
                <li class="menu-item {{if eq $currentNode.URL .URL }} current-menu-item current_page_item {{end}}"><a class="menu__link" href="{{ .URL }}">{{ .Name | upper }}</a></li>
                {{- end }}
                {{- end }}
            </ul>
            <select>
                {{- $currentNode := . }}
                {{- range sort .Site.Menus.main }}
                {{- if .Name}}
                <option value="{{ .URL }}" class="menu-item menu-item-type-custom menu-item-object-custom" {{if eq $currentNode.URL .URL }} selected="selected" {{end}}>{{ .Name | upper }}</option>
                {{- end }}
                {{- end }}
            </select>
        </nav>
        {{- end }}
    </header>

    <br>
    {{ partial "ad_header_banner.html" . }}

    <div class="breadcrumbs">
        
    </div>