_includes/lloyd.js

/**
* @file Imports theme modules and configures them with 11ty (~/.eleventy.js)
* @author Reuben L. Lillie <reubenlillie@gmail.com>
*/


// Import theme filters
import fileToString from './filters/file-to-string.js'
import minifyCSS from './filters/minify-css.js'
import minifyJS from './filters/minify-js.js'

// Import theme shortcodes
import audio from './shortcodes/audio.js'
import audioPlaylist from './shortcodes/audio-playlist.js'
import authorMeta from './shortcodes/author-meta.js'
import blockquote from './shortcodes/blockquote.js'
import copyrightNotice from './shortcodes/copyright-notice.js'
import description from './shortcodes/description.js'
import externalCSS from './shortcodes/external-css.js'
import favicon from './shortcodes/favicon.js'
import gridNav from './shortcodes/grid-nav.js'
import headshot from './shortcodes/headshot.js'
import headTag from './shortcodes/head-tag.js'
import pageDate from './shortcodes/page-date.js'
import siteHeader from './shortcodes/site-header.js'
import siteFooter from './shortcodes/site-footer.js'
import socialMeta from './shortcodes/social-meta.js'
import titleTag from './shortcodes/title-tag.js'
import video from './shortcodes/video.js'

// Import theme transforms
import minifyHTML from './transforms/minify-html.js'

/**
* A loader module for theme modules
* @module _includes/lloyd
*/

export default function (eleventyConfig) {

// Function calls to included filters
fileToString(eleventyConfig)
minifyCSS(eleventyConfig)
minifyJS(eleventyConfig)

// Function calls to included shortcodes
audio(eleventyConfig)
audioPlaylist(eleventyConfig)
authorMeta(eleventyConfig)
blockquote(eleventyConfig)
copyrightNotice(eleventyConfig)
description(eleventyConfig)
externalCSS(eleventyConfig)
favicon(eleventyConfig)
gridNav(eleventyConfig)
headshot(eleventyConfig)
headTag(eleventyConfig)
pageDate(eleventyConfig)
siteHeader(eleventyConfig)
siteFooter(eleventyConfig)
socialMeta(eleventyConfig)
titleTag(eleventyConfig)
video(eleventyConfig)

// Function calls to included transforms
minifyHTML(eleventyConfig)

return

}