Skip to content

Commit

Permalink
Merge pull request #807 from mpourismaiel/fix/styles/permalink
Browse files Browse the repository at this point in the history
Fix issues that cause hugoThemes demo to break
  • Loading branch information
stp-ip authored Jul 23, 2020
2 parents 5749a70 + 2bc0933 commit 6f05bac
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 43 deletions.
File renamed without changes.
42 changes: 0 additions & 42 deletions exampleSite/content/_index/hero/logo.svg

This file was deleted.

File renamed without changes
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{{- $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules" "styles")) -}}
{{- $styleTemplated := $sassTemplate | resources.ExecuteAsTemplate "main.scss" . -}}
{{- $style := $styleTemplated | resources.ToCSS $options | resources.PostCSS | resources.Minify | resources.Fingerprint | resources.PostProcess }}
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
<link href="{{ $style.Permalink }}" rel="stylesheet">

{{- with .Site.Params.custom -}}
{{- with .favicon }}
Expand Down

0 comments on commit 6f05bac

Please sign in to comment.