diff --git a/exampleSite/content/menu/index.md b/exampleSite/content/menu/index.md
index 0d22ef7..cc8634d 100644
--- a/exampleSite/content/menu/index.md
+++ b/exampleSite/content/menu/index.md
@@ -2,12 +2,12 @@
headless: true
---
-- [**Introduction**]({{< ref "/" >}})
-- [Examples]({{< ref "/docs/examples.md" >}})
- - [With Table of contents]({{< ref "/docs/with-toc.md" >}})
- - [Without Table of Contents]({{< ref "/docs/without-toc.md" >}})
+- [**Introduction**]({{< relref "/" >}})
+- [Examples]({{< relref "/docs/examples.md" >}})
+ - [With Table of contents]({{< relref "/docs/with-toc.md" >}})
+ - [Without Table of Contents]({{< relref "/docs/without-toc.md" >}})
- **More Examples**
-- [Server]({{< ref "/docs/server.md" >}})
-- [Client]({{< ref "/docs/client.md" >}})
-- [Advanced]({{< ref "/docs/advanced.md" >}})
-- [**Blog**]({{< ref "/posts" >}})
+- [Server]({{< relref "/docs/server.md" >}})
+- [Client]({{< relref "/docs/client.md" >}})
+- [Advanced]({{< relref "/docs/advanced.md" >}})
+- [**Blog**]({{< relref "/posts" >}})
diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html
index b9bcd39..1fc589d 100644
--- a/layouts/partials/docs/git-footer.html
+++ b/layouts/partials/docs/git-footer.html
@@ -3,14 +3,14 @@
{{ with .GitInfo }}
{{ end }}
{{ with .Site.Params.BookEditPath }}
{{ end }}
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index b15fe78..5d6f1c1 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 }}
diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html
index 7ddd06d..7febbad 100644
--- a/layouts/partials/docs/mobile-header.html
+++ b/layouts/partials/docs/mobile-header.html
@@ -1,6 +1,6 @@
diff --git a/layouts/partials/docs/shared.html b/layouts/partials/docs/shared.html
index 923545a..ec303f5 100644
--- a/layouts/partials/docs/shared.html
+++ b/layouts/partials/docs/shared.html
@@ -1,5 +1,5 @@
{{/*These templates contains some more complex logic and shared between partials*/}}
-{{ define "title" }}
+{{- define "title" -}}
{{- if .Pages -}}
{{ $sections := split (trim .Dir "/") "/" }}
{{ $title := index ($sections | last 1) 0 | humanize | title }}
@@ -8,9 +8,9 @@
{{ $title := .File | humanize | title }}
{{- default $title .Title -}}
{{- end -}}
-{{ end }}
+{{- end -}}
-{{ define "hrefhack" }}
+{{- define "hrefhack" -}}
{{ $attrEq := "$=" }}
{{ $attrVal := .RelPermalink }}
{{ if eq .RelPermalink "/" }}
@@ -23,9 +23,9 @@
color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
}
-{{ end }}
+{{- end -}}
-{{ define "jsmenu" }}
+{{- define "jsmenu" -}}
-{{ end }}
\ No newline at end of file
+{{- end -}}
\ No newline at end of file
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 67b770d..4756d74 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -3,7 +3,7 @@
{{ range sort .Paginator.Pages }}
{{ .Date.Format "January 2, 2006" }}
@@ -11,7 +11,7 @@
{{- .Summary -}}
{{ if .Truncated }}
- ...
+ ...
{{ end }}