mirror of
https://github.com/Start9Labs/start9.com.git
synced 2026-03-30 12:11:58 +00:00
* revamped js/css asset build * update favicon compilation and color; cleanup package.json * fix spacing * update social media display and references * adjust about page sizing and mobile display * update jobs and page titles * abstract links to single source, small style fixes * adjust footer * update pro viddeo page and seo * seo and video fixes * fix seo display * move tor link to footer * sizing adjustments and add hosted video * video and sizing adjustments * wip video * final video * update pro link * temp fix for ticker start * update link, add auto orient, remove video border * fix contact form submission and mobile submit
28 lines
970 B
JavaScript
28 lines
970 B
JavaScript
const faviconPlugin = require("eleventy-plugin-gen-favicons");
|
|
const format = require('date-fns/format')
|
|
const pluginSEO = require("eleventy-plugin-seo");
|
|
const tinysvg = require('@sardine/eleventy-plugin-tinysvg');
|
|
const slinkity = require('slinkity')
|
|
|
|
module.exports = function (eleventyConfig) {
|
|
eleventyConfig.addPassthroughCopy('./src/assets/images/');
|
|
eleventyConfig.addPassthroughCopy('./src/assets/videos/');
|
|
eleventyConfig.addPassthroughCopy('public')
|
|
|
|
//plugins
|
|
eleventyConfig.addPlugin(faviconPlugin, { outputDir: './public' });
|
|
eleventyConfig.addPlugin(slinkity.plugin, slinkity.defineConfig({}))
|
|
eleventyConfig.addPlugin(pluginSEO, require("./src/_data/seo.json"));
|
|
eleventyConfig.addPlugin(tinysvg, {
|
|
baseUrl: 'src/_includes/svgs/',
|
|
});
|
|
|
|
//filters
|
|
eleventyConfig.addFilter('date', function (date, dateFormat) {
|
|
return format(date, dateFormat)
|
|
})
|
|
|
|
return {
|
|
dir: { input: "src", output: "_site", data: "_data" },
|
|
};
|
|
}; |