Use .RelPermalink for scss

soper-book
Alex Shpak 2018-10-30 16:46:25 +01:00
parent a4af1666b5
commit df5abe5b91
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
---
title: Index
type: docs
---

View File

@ -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 }}">
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">