Skip to content

Commit d7d3c96

Browse files
authored
Update head.html
1 parent 7fa78a8 commit d7d3c96

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

layouts/partials/head.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@
3131
<!-- Favicon -->
3232
<link rel="icon" type="image/x-icon" href="{{ .Site.Params.favicon | default "/favicon.ico" | relURL }}">
3333

34-
{{ $styles := resources.Get "css/main.css" | minify }}
35-
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
34+
<!-- Custom CSS from config -->
35+
{{- range .Site.Params.customCSS }}
36+
<link rel="stylesheet" href="{{ . | relURL }}">
37+
{{- end }}
38+
3639
{{ $js := resources.Get "js/main.js" | minify }}
3740
<script src="{{ $js.RelPermalink }}" defer></script>
3841
<!-- Font Awesome for icons -->
3942
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
4043

41-
<!-- Custom CSS from config -->
42-
{{- range .Site.Params.customCSS }}
43-
<link rel="stylesheet" href="{{ . | relURL }}">
44-
{{- end }}
4544

4645
<!-- Google Fonts -->
4746
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)