Skip to content

Commit

Permalink
Merge pull request #2 from rcopstein/patch-1
Browse files Browse the repository at this point in the history
Update .eleventy.js
  • Loading branch information
takanorip authored Oct 16, 2021
2 parents d40270a + 8a82816 commit bab8bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { createInlineCss } = require('./eleventy-google-fonts');

module.exports = function (eleventyConfig) {
eleventyConfig.addNunjucksAsyncShortcode("eleventyGoogleFonts", async value => {
eleventyConfig.addShortcode("eleventyGoogleFonts", async value => {
return await createInlineCss(value)
});
}
}

0 comments on commit bab8bef

Please sign in to comment.