Skip to content

Commit 405d369

Browse files
committed
Self-host Merriweather Sans fonts and update CSS
1 parent 3d73a12 commit 405d369

File tree

100 files changed

+792
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+792
-22
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
*.png filter=lfs diff=lfs merge=lfs -text
22
*.jpg filter=lfs diff=lfs merge=lfs -text
3+
*.woff filter=lfs diff=lfs merge=lfs -text
4+
*.woff2 filter=lfs diff=lfs merge=lfs -text

assets/css/main.css

Lines changed: 485 additions & 0 deletions
Large diffs are not rendered by default.

layouts/partials/css.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{{ with (templates.Defer (dict "key" "global")) }}<!-- -->
2-
{{ with resources.Get "css/main.css" }}<!-- -->
3-
{{ $opts := dict "minify" hugo.IsProduction "inlineImports" true }}<!-- -->
4-
{{ with . | css.TailwindCSS $opts }}<!-- -->
5-
{{ if hugo.IsProduction }}<!-- -->
6-
{{ with . | fingerprint }}
7-
<link
8-
rel="stylesheet"
9-
href="{{ .RelPermalink }}"
10-
integrity="{{ .Data.Integrity }}"
11-
crossorigin="anonymous"
12-
/>
13-
{{ end }}<!-- -->
14-
{{ else }}<!-- -->
15-
<link rel="stylesheet" href="{{ .RelPermalink }}" />
16-
{{ end }}<!-- -->
17-
{{ end }}<!-- -->
18-
{{ end }}<!-- -->
2+
{{ with resources.Get "css/main.css" }}<!-- -->
3+
{{ $opts := dict "minify" hugo.IsProduction "inlineImports" true }}<!-- -->
4+
{{ with . | css.TailwindCSS $opts }}<!-- -->
5+
{{ if hugo.IsProduction }}<!-- -->
6+
{{ with . | fingerprint }}
7+
<link
8+
rel="stylesheet"
9+
href="{{ .RelPermalink }}"
10+
integrity="{{ .Data.Integrity }}"
11+
crossorigin="anonymous"
12+
/>
13+
{{ end }}<!-- -->
14+
{{ else }}<!-- -->
15+
<link rel="stylesheet" href="{{ .RelPermalink }}" />
16+
{{ end }}<!-- -->
17+
{{ end }}<!-- -->
18+
{{ end }}<!-- -->
1919
{{ end }}

layouts/partials/extend_head.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
<link rel="preconnect" href="https://fonts.bunny.net" />
2-
<link
3-
href="https://fonts.bunny.net/css?family=merriweather-sans:300,400,600"
4-
rel="stylesheet"
5-
/>
61
{{- partialCached "css.html" . -}}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6645fb7cba9cbe3d5b41260747201663a87afba08b2bad2578e7c413ac728715
3+
size 1792
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:13a8ffd5f7c2263c95dddb0639f23f04c08c5fc3fd04165c4d7cd23c7f65dd3d
3+
size 1216
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9a304ca1227da9bdab983b2a021ee2302a4b34f28c2499ea4bfbbe043e739c37
3+
size 1788
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:5c6e903ee2e301dcab3ad81a0439e0fa7d6f26ed191d328547b08f19ddcde812
3+
size 1228
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c0f525a7e02b56aee097102e310e13c3ba0587fa044e5198863e50f74b2802e3
3+
size 1800
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2f1dbea24e1f7896e60674cebe0b1bf36f735a6929f378db53776a8829c63c81
3+
size 1204

0 commit comments

Comments
 (0)