Skip to content

Commit 10a1d8e

Browse files
committed
Move mediaTypes to before modules and update comment
1 parent 7eefcd3 commit 10a1d8e

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

hugo.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ outputFormats:
1717
path: _print
1818
permalinkable: false
1919

20+
# Needed fo KaTeX, possibly useful for others. see
21+
# https://github.com/google/docsy/pull/2465
22+
mediaTypes:
23+
font/woff:
24+
suffixes: [woff]
25+
font/woff2:
26+
suffixes: [woff2]
27+
2028
module:
2129
hugoVersion:
2230
extended: true
@@ -63,10 +71,3 @@ module:
6371
target: assets/vendor/Font-Awesome/scss
6472
- source: webfonts
6573
target: static/webfonts
66-
67-
# needed fo KaTeX: https://github.com/google/docsy/issues/2420#issuecomment-3757453768
68-
mediaTypes:
69-
font/woff:
70-
suffixes: [woff]
71-
font/woff2:
72-
suffixes: [woff2]

0 commit comments

Comments
 (0)