diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/docs/baseof.html | 4 | ||||
-rw-r--r-- | layouts/partials/docs/brand.html | 3 | ||||
-rw-r--r-- | layouts/partials/docs/html-head.html | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 9beb261..cff1524 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -12,9 +12,7 @@ <aside class="menu fixed"> <nav role="navigation"> - <h2 class="brand"> - <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> - </h2> + {{ partial "docs/brand" . }} {{ partial "docs/inject/menu-before" . }} {{ if .Site.Params.BookMenuBundle }} diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html new file mode 100644 index 0000000..3a6d7b4 --- /dev/null +++ b/layouts/partials/docs/brand.html @@ -0,0 +1,3 @@ +<h2 class="brand"> + <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> +</h2>
\ No newline at end of file diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 1da298c..c4134be 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -5,5 +5,5 @@ <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"> -{{ $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 }}">
\ No newline at end of file |