go-bouquins/templates/header.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2017-07-30 16:09:27 +00:00
<!DOCTYPE html>
<html lang="fr">
<head>
2017-08-03 17:51:56 +00:00
<title>{{ if .Title }}{{ .Title }} | {{ end }}Bouquins</title>
2017-07-30 16:09:27 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<link rel="stylesheet" href="/css/bootstrap.min.css">
2017-08-04 16:57:15 +00:00
<link rel="preload" href="/js/vue.min.js" as="script">
<link rel="prefetch" href="/js/vue.min.js">
{{ if .PageJs }}
<link rel="preload" href="/js/{{ .PageJs }}" as="script">
<link rel="prefetch" href="/js/{{ .PageJs }}">
{{ end }}
2017-07-30 16:09:27 +00:00
</head>
<body>
<nav class="navbar navbar-inverse" id="nav">
<div class="container">
<ul class="nav navbar-nav">
2017-08-03 17:51:56 +00:00
<li class="active"><a href="/">Accueil</a></li>
2017-07-30 16:09:27 +00:00
<li><a href="search.html">Recherche</a></li>
<li><a href="#">A propos</a></li>
</ul>
<form class="navbar-form navbar-right" role="search" method="get" action="search.html">
<div class="form-group">
<input name="q" type="text" class="form-control" placeholder="Recherche">
</div>
</form>
</div>
</nav>