Minor fixes

This commit is contained in:
Alex Shpak 2018-09-30 01:04:22 +02:00
parent 13150ec9d8
commit 830fa91359
4 changed files with 5 additions and 4 deletions

View file

@ -12,9 +12,7 @@
<aside class="menu fixed"> <aside class="menu fixed">
<nav role="navigation"> <nav role="navigation">
<h2 class="brand"> {{ partial "docs/brand" . }}
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</h2>
{{ partial "docs/inject/menu-before" . }} {{ partial "docs/inject/menu-before" . }}
{{ if .Site.Params.BookMenuBundle }} {{ if .Site.Params.BookMenuBundle }}

View file

@ -0,0 +1,3 @@
<h2 class="brand">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</h2>

View file

@ -5,5 +5,5 @@
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
{{ $styles := resources.Get "styles.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.Permalink }}"> <link rel="stylesheet" href="{{ $styles.Permalink }}">