From 7798a5cc7c1d636008f000937e3d096f01dbbde5 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 24 Nov 2018 15:10:43 +0100 Subject: Refactor scss styles --- layouts/docs/baseof.html | 15 ++++++--------- layouts/partials/docs/brand.html | 2 +- layouts/partials/docs/html-head.html | 6 +++--- layouts/partials/docs/mobile-header.html | 10 ++++++---- 4 files changed, 16 insertions(+), 17 deletions(-) (limited to 'layouts') diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index a332fc5..6ce7a9b 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -9,9 +9,9 @@ -
+
-
- {{ partial "docs/inject/body" . }} - \ No newline at end of file diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html index 3a6d7b4..5a2c9cb 100644 --- a/layouts/partials/docs/brand.html +++ b/layouts/partials/docs/brand.html @@ -1,3 +1,3 @@ -

+

{{ .Site.Title }}

\ No newline at end of file diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 0110074..363bcd2 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -3,7 +3,7 @@ {{- template "title" . }} | {{ .Site.Title -}} - - + + {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - + \ No newline at end of file diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html index 3517fe6..7ddd06d 100644 --- a/layouts/partials/docs/mobile-header.html +++ b/layouts/partials/docs/mobile-header.html @@ -1,4 +1,6 @@ - -{{- template "title" . }} +
+ + {{- template "title" . }} +
-- cgit v1.2.3