aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/header.html
blob: 0c951c5142e96b7465c719efdef5d33882f3f12c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<nav class="navbar navbar-expand-lg bg-dark fixed-top shadow" data-bs-theme="dark">
    <div class="container">
      <a class="navbar-brand" href="/">
        <img src="{{ .Site.Params.Logo }}" alt="{{ .Site.Title }}" width="32" height="32">
        {{ .Site.Title }}
      </a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        {{ partial "hmenu.html" (dict "menuID" "main" "page" .) }}
        <div class="d-flex">
          <input class="form-control me-2" id="search-input" type="search" placeholder="Поиск по сайту" aria-label="Поиск по сайту">
        </div>
      </div>
    </div>
</nav>
<div class="navbar-filler"></div>
<div id="search-results" class="list-group rounded border shadow hidden"></div>