set up base template

- set up top nav
  - auto generate menu from `main`
  - configurable brand (can be hidden or custom, defaults to site title)
  - top nav can be configured to be sticky
- css in top, js at the end of body
- default google analitycs template added to base
- added highlight.js
This commit is contained in:
Gardient
2018-02-18 12:39:17 +02:00
parent c21f7b9012
commit 83de4ef633
10 changed files with 27 additions and 44 deletions

View File

@@ -5,8 +5,6 @@
<meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
{{ .Hugo.Generator }}
<title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
<!-- CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.0.0-beta.3/slate/bootstrap.min.css" integrity="sha256-XuLfpTfBrr1SFUTEBsuCZAyEL9FaMqJHX6v2Clowmu8=" crossorigin="anonymous" />