summaryrefslogtreecommitdiff
path: root/eleventy.config.js
blob: 4aba2f6950a996ffb40c6eca8cfdf4bc74ae788b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export default async function(eleventyConfig) {
  // Configure Eleventy
  const assets = "./_src/assets/";
  eleventyConfig.addPassthroughCopy(assets);
  eleventyConfig.addWatchTarget(assets);
  const pgp = "./_src/pgp.txt";
  eleventyConfig.addPassthroughCopy(pgp);
  eleventyConfig.addWatchTarget(pgp);
  const rss = "./_src/rss.xml";
  eleventyConfig.addPassthroughCopy(rss);
  eleventyConfig.addWatchTarget(rss);
};

export const config = {
  dir: {
    includes: "_includes",
    input: "_src",
    output: "_site"
  }
};