Skip to content

Commit

Permalink
Render a easy to use CSS for subsites
Browse files Browse the repository at this point in the history
  • Loading branch information
nikdoof committed Aug 15, 2024
1 parent 73072fb commit 63de744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions themes/dimension/layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- end }}
{{- else }}
{{- with . | toCSS $opts }}
<!-- Want to use our style on your subsite? use this CSS -->
<!-- <link rel="stylesheet" href="{{ .RelPermalink }}"> -->
{{- end }}
{{- with . | toCSS $opts | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
Expand Down

0 comments on commit 63de744

Please sign in to comment.