aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-10-30 16:46:25 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-10-30 16:46:25 +0100
commitdf5abe5b916d4b366e4becdf2ce55363720a5b5d (patch)
tree1768eede2764485984782e25bb7e408f219e6845
parenta4af1666b559f1948291763b27e48fe9f3f1df2d (diff)
Use .RelPermalink for scss
-rw-r--r--exampleSite/content/_index.md1
-rw-r--r--layouts/partials/docs/html-head.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md
index 254597c..6cb0a37 100644
--- a/exampleSite/content/_index.md
+++ b/exampleSite/content/_index.md
@@ -1,4 +1,5 @@
---
+title: Index
type: docs
---
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index c4134be..e127495 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -1,9 +1,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
+<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
<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 "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
-<link rel="stylesheet" href="{{ $styles.Permalink }}"> \ No newline at end of file
+<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> \ No newline at end of file