load cactus chat css before site css
This commit is contained in:
parent
af403dd262
commit
5295e27c08
|
@ -1,6 +1,5 @@
|
||||||
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
|
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
|
||||||
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
|
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
|
||||||
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
|
|
||||||
|
|
||||||
<div id="ficurinia-cactus-comments"></div>
|
<div id="ficurinia-cactus-comments"></div>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
</title>
|
</title>
|
||||||
<link href="/symbols-nerd-font/symbols-nerd-font.css" rel="stylesheet" />
|
<link href="/symbols-nerd-font/symbols-nerd-font.css" rel="stylesheet" />
|
||||||
<link href="/jetbrains-mono/jetbrains-mono.css" rel="stylesheet" />
|
<link href="/jetbrains-mono/jetbrains-mono.css" rel="stylesheet" />
|
||||||
|
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
|
||||||
|
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
|
||||||
|
{{ end }}
|
||||||
{{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | resources.ToCSS (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }}
|
{{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | resources.ToCSS (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }}
|
||||||
<link type=text/css rel=stylesheet href={{ $style.Permalink }} integrity="{{ $style.Data.Integrity }}" />
|
<link type=text/css rel=stylesheet href={{ $style.Permalink }} integrity="{{ $style.Data.Integrity }}" />
|
||||||
{{- partial "inject/head.html" . -}}
|
{{- partial "inject/head.html" . -}}
|
||||||
|
|
Loading…
Reference in New Issue