Use .RelPermalink for scss
This commit is contained in:
parent
a4af1666b5
commit
df5abe5b91
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: Index
|
||||
type: docs
|
||||
---
|
||||
|
||||
|
|
|
@ -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 }}">
|
Loading…
Reference in a new issue