We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 334dcb1 commit bc15dd4Copy full SHA for bc15dd4
2 files changed
layouts/partials/css.html
@@ -1,7 +1,7 @@
1
<!-- Include all theme CSS filenames here -->
2
{{- $page := . -}}
3
4
-{{- $inServerMode := .Site.IsServer -}}
+{{- $inServerMode := hugo.IsServer -}}
5
{{- $serverOpts := cond ($inServerMode) (dict "enableSourceMap" true) (dict "outputStyle" "compressed") -}}
6
{{- $sassCompiler := dict "transpiler" "dartsass" -}}
7
{{- $cssOpts := collections.Merge $sassCompiler $serverOpts -}}
layouts/partials/javascript.html
@@ -1,4 +1,4 @@
<!-- Font Awesome -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/js/all.min.js" integrity="sha384-3ve3u7etWcm2heCe4TswfZSAYSg2jR/EJxRHuKM5foOiKS8IJL/xRlvmjCaHELBz" crossorigin="anonymous"></script>
0 commit comments