mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-05-03 04:21:21 +00:00
Use .RelPermalink for scss
This commit is contained in:
parent
a4af1666b5
commit
df5abe5b91
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
title: Index
|
||||||
type: docs
|
type: docs
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -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 }}">
|
Loading…
Reference in New Issue
Block a user