Turning It Up to 11ty

Turning It Up to 11ty

Finally fully committed to migrating two sites from wordpress/weird CMS both to markdown handled by 11ty.

Each of them need a few customisations so I will be documenting these here as we go along.

It might be worth noting that I am using a stock forlder format as recommended by the (excellent) 11ty docs plus notes from 11ty Rocks, Stephanie Eckles and Zach Leatherman. One slight difference is in the .eleventy.js config file where I prefer not to put non-public plugins, shortocdes and filters inline in the config but require them from a file under the _11ty folder.

module.exports = eleventyConfig => {

    eleventyConfig.addShortcode('screenshot', require("./_11ty/shortcodes/screenshot.js"));

}