aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-07 12:54:18 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-07 12:54:18 +0100
commit143cb9341d0d50c69da9900b4e721db1b66606cd (patch)
tree820e859443a34bc97f9a6a9e3f61231ba3b46cd0 /layouts
parentb88206b14f5e90b454dcf8d3ac2b0662edf78302 (diff)
Improve font rendering
Diffstat (limited to 'layouts')
-rw-r--r--layouts/docs/baseof.html7
-rw-r--r--layouts/partials/docs/html-head.html2
2 files changed, 6 insertions, 3 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
index 30c58c0..a332fc5 100644
--- a/layouts/docs/baseof.html
+++ b/layouts/docs/baseof.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
{{- partial "docs/shared" -}}
<html>
+
<head>
{{ partial "docs/html-head" . }}
{{ partial "docs/inject/head" . }}
@@ -14,13 +15,13 @@
<nav role="navigation">
{{ partial "docs/brand" . }}
{{ partial "docs/inject/menu-before" . }}
-
+
{{ if .Site.Params.BookMenuBundle }}
{{ partial "docs/menu-bundle" . }}
{{ else }}
{{ partial "docs/menu-filetree" . }}
{{ end }}
-
+
{{ partial "docs/inject/menu-after" . }}
</nav>
</aside>
@@ -43,5 +44,7 @@
</main>
{{ partial "docs/inject/body" . }}
+
</body>
+
</html> \ No newline at end of file
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index 5e7b90f..f7feadb 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -2,7 +2,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
-<link href="https://fonts.googleapis.com/css?family=Oxygen+Mono|Oxygen:300,400,700" rel="stylesheet">
+<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="/normalize.min.css">
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}