diff options
author | Indrajith K L | 2022-08-28 00:41:33 +0530 |
---|---|---|
committer | Indrajith K L | 2022-08-28 00:41:33 +0530 |
commit | 191fb0c0aa31a5142f81ea6f7fcf253b10f0297c (patch) | |
tree | 019ad6000e0be1e01779a962b42ce437e84aaed9 /.eleventy.js | |
parent | 7524f9aa94368d28250813a4e3bad965d178aa7c (diff) | |
download | indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.tar.gz indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.tar.bz2 indrajith-dev-191fb0c0aa31a5142f81ea6f7fcf253b10f0297c.zip |
* Project Restructred
* Adds Tailwind
* Completed Intro Page, About, Posts Listing
* Changes build and development scripts
Diffstat (limited to '.eleventy.js')
-rw-r--r-- | .eleventy.js | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.eleventy.js b/.eleventy.js index 554bb54..e5d8260 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,13 +1,26 @@ /*jshint esversion: 6 */ const dayjs = require("dayjs"); +const faviconPlugin = require("eleventy-favicon"); +const eleventyPluginFeathericons = require('eleventy-plugin-feathericons'); +const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); module.exports = function (config) { - config.addPassthroughCopy("./src/css"); - config.addWatchTarget("./src/css"); + config.addPassthroughCopy({ + 'src/_includes/assets/css/styles.css': './styles.css' + }); config.addPassthroughCopy({ "src/css/fonts": "./fonts", }); + config.addPassthroughCopy({ + "src/images": "./images", + }); + config.addPlugin(faviconPlugin, { + destination: './public' + }); + config.addWatchTarget("./src/css"); + config.addPlugin(eleventyPluginFeathericons); + config.addPlugin(syntaxHighlight); config.addFilter("dateFilter", function (date) { return dayjs(date).format("DD MMM YYYY"); |