Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
takanorip committed May 9, 2021
1 parent 992c187 commit d40270a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eleventy-google-fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const createInlineCss = async url => {
return (
`<link rel="preconnect" href="https://fonts.gstatic.com">`+
`<link data-href="${url}" rel="stylesheet">`+
`<style data-href='${url}'>${content.replace(/(\n|\s)/g, '')}</style>`
`<style data-href='${url}'>${content}</style>`
)
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eleventy-google-fonts",
"version": "0.0.4",
"version": "0.0.5",
"main": ".eleventy.js",
"repository": "https://github.com/takanorip/eleventy-google-fonts.git",
"author": "takanorip <[email protected]>",
Expand Down

0 comments on commit d40270a

Please sign in to comment.