Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Jul 18, 2020
1 parent e01e218 commit 2e08e31
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/style.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

{{- $path := (strings.TrimPrefix "/" (printf `%s/css/tony.min.css` .Site.LanguagePrefix)) -}}
{{- $options := (dict "targetPath" $path "outputStyle" "compressed") -}}
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss" . ) . | resources.ToCSS $options | resources.Fingerprint -}}
{{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "/styles/main-rendered.scss" . | resources.ToCSS $options | resources.Fingerprint -}}
{{- printf `<link rel="stylesheet" href="%s" integrity="%s"/>` $style.RelPermalink $style.Data.Integrity | safeHTML -}}

0 comments on commit 2e08e31

Please sign in to comment.