diff options
Diffstat (limited to 'templates/components')
-rw-r--r-- | templates/components/section.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/components/section.html b/templates/components/section.html index 563a6a9..ca664fb 100644 --- a/templates/components/section.html +++ b/templates/components/section.html @@ -11,6 +11,15 @@ </section> {{end}} +{{define "navbar"}} +<nav class="navbar is-fixed-top is-primary" role="navigation" aria-label="main navigation"> + <div class="navbar-brand"> + <a href="/" class="navbar-item subtitle is-3">{{.GlobalVars.Name}}</a> + </div> +</nav> +{{end}} + + {{define "hero-medium"}} <section class="hero is-medium is-primary"> <div class="hero-body"> |