fix css not loading

This commit is contained in:
brooke 2024-06-16 03:12:45 -04:00
parent a5c28c05aa
commit 034a3ab377
2 changed files with 15 additions and 15 deletions

View file

@ -1,9 +1,11 @@
{{- with resources.Get "css/main.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/main.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 }}

View file

@ -1,9 +1,3 @@
* {
box-sizing: border-box;
font-family: Consolas, Monaco, "Lucida Console", monospace;
font-size: 0.9rem;
color: #ccc;
}
html {
width: 100%;
@ -17,6 +11,10 @@ html {
}
body {
box-sizing: border-box !important;
font-family: Consolas, Monaco, "Lucida Console", monospace !important;
font-size: 0.9rem !important;
color: #ccc !important;
margin: 0;
padding-top: 3.5rem;
padding-bottom: 3.5rem;