Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlxndrblz <lxndrblz@users.noreply.github.com>2022-02-21 21:14:08 +0300
committerGitHub Actions <actions@github.com>2022-02-21 21:14:08 +0300
commit1e1c068b5c2a150060d2368269fce5d7a6c721fb (patch)
tree761cda010b14e9a6e84e202b9c0c82c5a50d5c61
parentbe3218290dc63ba251bfd2fe4d4dccb2122f4bbe (diff)
style: prettier format all filesv1.7.0
-rw-r--r--layouts/partials/head.html39
1 files changed, 21 insertions, 18 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 6ce8aa5..8719460 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -45,27 +45,30 @@
{{- end -}}
+
<!-- CSS -->
{{ if eq .Site.Language.LanguageDirection "rtl" }}
- {{ $sassTemplate := resources.Get "scss/anatole.rtl.scss" }}
- {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
- <link
- rel="stylesheet"
- href="{{ $style.RelPermalink }}"
- integrity="{{ $style.Data.Integrity }}"
- crossorigin="anonymous"
- type="text/css"
-/>
+ {{ $sassTemplate := resources.Get "scss/anatole.rtl.scss" }}
+ {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
+ <link
+ rel="stylesheet"
+ href="{{ $style.RelPermalink }}"
+ integrity="{{ $style.Data.Integrity }}"
+ crossorigin="anonymous"
+ type="text/css"
+ />
+
{{ else }}
- {{ $sassTemplate := resources.Get "scss/anatole.scss" }}
- {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
- <link
- rel="stylesheet"
- href="{{ $style.RelPermalink }}"
- integrity="{{ $style.Data.Integrity }}"
- crossorigin="anonymous"
- type="text/css"
-/>
+ {{ $sassTemplate := resources.Get "scss/anatole.scss" }}
+ {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
+ <link
+ rel="stylesheet"
+ href="{{ $style.RelPermalink }}"
+ integrity="{{ $style.Data.Integrity }}"
+ crossorigin="anonymous"
+ type="text/css"
+ />
+
{{ end }}
{{ $markupHighlightStyle := resources.Get "css/markupHighlight.css" | resources.Minify | resources.Fingerprint }}