aboutsummaryrefslogtreecommitdiff
path: root/themes/neonxp/layouts/partials/head
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-18 23:18:18 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-18 23:18:18 +0300
commit74b65dd83f7c66d1f67f961b1fee65400b1fc334 (patch)
treedd9d5f0db2dbc733bcbbb04f98f0d18abf40031e /themes/neonxp/layouts/partials/head
parent1c1ae0094244868c63bd875c0cbfa50ced37de8d (diff)
Фикс темы под мобильные устройства
Diffstat (limited to 'themes/neonxp/layouts/partials/head')
-rw-r--r--themes/neonxp/layouts/partials/head/css.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/neonxp/layouts/partials/head/css.html b/themes/neonxp/layouts/partials/head/css.html
index 09e7397..c0dc59e 100644
--- a/themes/neonxp/layouts/partials/head/css.html
+++ b/themes/neonxp/layouts/partials/head/css.html
@@ -7,6 +7,15 @@
{{- end }}
{{- end }}
{{- end }}
+{{- with resources.Get "css/flexboxgrid.min.css" }}
+ {{- if eq hugo.Environment "development" }}
+ <link rel="stylesheet" href="{{ .RelPermalink }}">
+ {{- else }}
+ {{- with . | minify | fingerprint }}
+ <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
+ {{- end }}
+ {{- end }}
+{{- end }}
{{- with resources.Get "css/syntax.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">