Use .RelPermalink for scss

This commit is contained in:
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 type: docs
--- ---

View file

@ -6,4 +6,4 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css"> <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 }} {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.Permalink }}"> <link rel="stylesheet" href="{{ $styles.RelPermalink }}">