diff options
author | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2022-01-08 17:27:42 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2022-01-08 17:27:42 +0530 |
commit | 5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a (patch) | |
tree | bbca1d1fa46fb810d9974484572de5a9bfac54b8 /eleventy.config.js | |
parent | make it ready to deploy (diff) | |
download | sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.gz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.bz2 sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.lz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.xz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.zst sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.zip |
add service worker
Diffstat (limited to 'eleventy.config.js')
-rw-r--r-- | eleventy.config.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/eleventy.config.js b/eleventy.config.js deleted file mode 100644 index 9adfcf0..0000000 --- a/eleventy.config.js +++ /dev/null @@ -1,39 +0,0 @@ -module.exports = eleventyConfig => { - eleventyConfig.addPlugin(require('@11ty/eleventy-plugin-syntaxhighlight')) - eleventyConfig.addPlugin(require('@11ty/eleventy-plugin-rss')) - - eleventyConfig.setLibrary('md', require('markdown-it')({ - html: true, - linkify: true, - typographer: true - }).use(require('markdown-it-attrs'))) - - const { DateTime } = require('luxon') - eleventyConfig.addFilter('datefmt', date => { - return DateTime.fromJSDate(date, { zone: 'utc' }).toFormat("dd LLL yyyy"); - }) - - eleventyConfig.addPassthroughCopy('static/') - eleventyConfig.addPassthroughCopy('favicon.svg') - eleventyConfig.addPassthroughCopy('favicon.ico') - - return { - dir: { - input: 'src', - output: 'dist', - includes: 'includes', - data: 'data', - layouts: 'layouts' - }, - - dataTemplateEngine: 'njk', - markdownTemplateEngine: 'njk', - htmlTemplateEngine: 'njk', - templateFormats: [ - 'html', - 'md', - 'njk', - '11ty.js' - ] - } -} |