diff --git a/.eleventy.js b/.eleventy.js index 506a71a..27599a9 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -4,21 +4,6 @@ const rssPlugin = require('@11ty/eleventy-plugin-rss'); const Image = require("@11ty/eleventy-img"); const EleventyFetch = require("@11ty/eleventy-fetch"); -(async () => { - let url = "https://images.unsplash.com/photo-1535882686-b1332af6f51e"; - let stats = await Image(url, { - widths: [1980], - formats: ["jpeg"], - outputDir: "./src/img", - cacheOptions: { - duration: "1d", - directory: ".cache", - removeUrlQueryParams: false, - } - }); - console.log( stats ); -})(); - module.exports = function(eleventyConfig) { // Universal Shortcodes (Adds to Liquid, Nunjucks, Handlebars) eleventyConfig.addShortcode("bgImg", function(imgName, test) { diff --git a/package.json b/package.json index c7c7e95..ad1b4b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Brook", - "version": "1.0.0", + "version": "1.1.0", "description": "A ultra clean Eleventy Blogging template", "license": "MIT", "private": "true", diff --git a/src/_includes/layouts/post.njk b/src/_includes/layouts/post.njk index c5b80e5..138546e 100644 --- a/src/_includes/layouts/post.njk +++ b/src/_includes/layouts/post.njk @@ -16,12 +16,7 @@ {% if img %}