add program page and sample data
This commit is contained in:
parent
5c77536d98
commit
e31972cb90
7 changed files with 163 additions and 24 deletions
|
@ -2,6 +2,7 @@ const { EleventyHtmlBasePlugin, EleventyI18nPlugin } = require("@11ty/eleventy")
|
|||
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
|
||||
const bundlerPlugin = require("@11ty/eleventy-plugin-bundle");
|
||||
const pluginIcons = require('eleventy-plugin-icons');
|
||||
const yaml = require("js-yaml");
|
||||
const fs = require('fs');
|
||||
|
||||
// update this :)
|
||||
|
@ -24,6 +25,8 @@ module.exports = function(eleventyConfig) {
|
|||
],
|
||||
});
|
||||
|
||||
eleventyConfig.addDataExtension("yaml, yml", yaml.load);
|
||||
|
||||
eleventyConfig.addGlobalData("year", year);
|
||||
eleventyConfig.addGlobalData("eseColor", eseColor);
|
||||
|
||||
|
@ -53,7 +56,6 @@ module.exports = function(eleventyConfig) {
|
|||
dir: {
|
||||
input: "content",
|
||||
includes: "../_includes",
|
||||
data: "../_data",
|
||||
},
|
||||
pathPrefix: `/${year}/`,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue