mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
Use .RelPermalink for scss
This commit is contained in:
parent
a4af1666b5
commit
df5abe5b91
@ -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 New Issue
Block a user