- 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
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
|
|
{{ .Hugo.Generator }}
|
|
|
|
<!-- 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" />
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hugo-bootswatch-slate.css">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
|
|
|
{{ with .Site.Params.highlightjs }}
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ . }}.min.css">
|
|
{{ end }}
|
|
|
|
<!-- RSS -->
|
|
{{ if .RSSLink }}
|
|
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" href="{{ .RSSLink }}" />
|
|
{{ end }}
|
|
|
|
{{ partial "favicon.html" . }}
|
|
|
|
{{ range .Site.Params.custom_css }}
|
|
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
|
|
{{ end }}
|