28 lines
1.3 KiB
HTML
28 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>{{ if .Title }}{{ .Title }} | {{ end }}Bouquins</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="/{{ .Version }}/css/bootstrap.min.css">
|
|
<link rel="preload" href="/{{ .Version }}/js/vue.js" as="script">
|
|
<link rel="prefetch" href="/{{ .Version }}/js/vue.js">
|
|
<link rel="preload" href="/{{ .Version }}/js/bouquins.js" as="script">
|
|
<link rel="prefetch" href="/{{ .Version }}/js/bouquins.js">
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-inverse" id="nav">
|
|
<div class="container">
|
|
<ul class="nav navbar-nav">
|
|
<li{{ if ne .Page "search" }}{{ if (ne .Page "about") }} class="active"{{ end }}{{ end }}><a href="/">Accueil</a></li>
|
|
<li{{ if eq .Page "search" }} class="active"{{ end }}><a href="/search/">Recherche</a></li>
|
|
<li{{ if eq .Page "about" }} class="active"{{ end }}><a href="/about/">A propos</a></li>
|
|
</ul>
|
|
<form class="navbar-form navbar-right" role="search" method="get" action="/search/">
|
|
<div class="form-group">
|
|
<input name="q" type="text" class="form-control" placeholder="Recherche">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</nav>
|