2021-12-03 03:11:01 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2021-12-03 12:41:40 -08:00
|
|
|
<head>
|
|
|
|
{{template "metatags" .}}
|
|
|
|
{{template "css" .}}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav class="navbar is-dark">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a href="{{call .Reverse "home"}}" class="navbar-item">{{.AppName}}</a>
|
|
|
|
</div>
|
|
|
|
<div id="navbarMenu" class="navbar-menu">
|
|
|
|
<div class="navbar-end">
|
|
|
|
{{link (call .Reverse "home") "Home" .Path "navbar-item"}}
|
|
|
|
{{link (call .Reverse "about") "About" .Path "navbar-item"}}
|
|
|
|
{{link (call .Reverse "contact") "Contact" .Path "navbar-item"}}
|
|
|
|
{{- if .IsAuth}}
|
|
|
|
|
|
|
|
{{- else}}
|
|
|
|
{{link (call .Reverse "login") "Login" .Path "navbar-item"}}
|
|
|
|
{{- end}}
|
|
|
|
</div>
|
2021-12-03 05:49:07 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-03 12:41:40 -08:00
|
|
|
</nav>
|
2021-12-03 03:11:01 -08:00
|
|
|
|
2021-12-03 12:41:40 -08:00
|
|
|
<section class="section">
|
|
|
|
<div class="container">
|
|
|
|
{{- if .Title}}
|
|
|
|
<h1 class="title">{{.Title}}</h1>
|
|
|
|
{{- end}}
|
2021-12-03 03:11:01 -08:00
|
|
|
|
2021-12-03 12:41:40 -08:00
|
|
|
{{template "messages" .}}
|
|
|
|
{{template "content" .}}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
2021-12-03 03:11:01 -08:00
|
|
|
</html>
|