Skip to content

Commit

Permalink
fix: Import fonts.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash-- committed Jan 16, 2024
1 parent 1e25ce5 commit 2ad76c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/targets/intents/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preload" href="//{{.Domain}}/assets/fonts/Lato-Bold.immutable.woff2" as="font" type="font/woff2"
crossorigin>
<link rel="preload" href="//{{.Domain}}/assets/fonts/Lato-Regular.immutable.woff2" as="font" type="font/woff2"
<link rel="preload" href="//{{.Domain}}/assets/fonts/Lato-Regular.immutable.woff2" as="font" type="font/woff2"
crossorigin>

<% _.forEach(htmlWebpackPlugin.files.css, function(file) { %>
<link rel="stylesheet" href="<%- file %>">
<% }); %>
<link rel="stylesheet" href="//{{.Domain}}/assets/fonts/fonts.css">
{{.ThemeCSS}}
</head>
<body>
Expand Down

0 comments on commit 2ad76c2

Please sign in to comment.