lessmore/templates/common/header.html

46 lines
1.6 KiB
HTML
Raw Normal View History

2021-03-25 18:11:00 +03:00
{{ define "header" }}
<!DOCTYPE html>
<html>
<title>{{ if .CurrentPage }}staic | {{ .CurrentPage }}{{ else }}dynamic{{ end }}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<body class="dynamic-bg">
<!-- Panel -->
2021-03-26 11:11:14 +03:00
<nav class="navbar navbar-expand-lg position-static navbar-dark dynamic-panel mb-2 shadow">
2021-03-25 18:11:00 +03:00
<div class="container-fluid">
<a class="navbar-brand" href="#">static | more</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
2021-03-26 11:11:14 +03:00
<div class="nav-item">
<a class="nav-link"
href="#"
role="button">
feed
2021-03-25 18:11:00 +03:00
</a>
2021-03-26 11:11:14 +03:00
</div>
<div class="nav-item">
<a class="nav-link"
href="/forum"
role="button">
forum
</a>
</div>
<div class="nav-item">
<a class="nav-link"
href="#"
role="button">
new
</a>
</div>
2021-03-25 18:11:00 +03:00
</ul>
<form class="d-flex">
<input class="form-control me-2 bg-dark text-black-50 border-0" type="search" placeholder='search query' aria-label="Search">
2021-03-26 11:11:14 +03:00
<button class="btn btn-outline-light" type="submit">Search</button>
2021-03-25 18:11:00 +03:00
</form>
</div>
</div>
</nav>
{{ end }}