Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .bundle/config

This file was deleted.

38 changes: 38 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const yaml = require("js-yaml");

module.exports = function(eleventyConfig) {
// Add this line to copy your external assets
eleventyConfig.addPassthroughCopy("src/assets");
// 1. Recognize YAML as a template format
eleventyConfig.addTemplateFormats("yaml");

// 2. Define how to process YAML files
eleventyConfig.addExtension("yaml", {
key: "yaml",
compile: async (inputContent) => {
const data = yaml.load(inputContent);
return async () => {
// This returns the 'content' for the page (the bio)
return data.bio || "";
};
},
getData: async (inputPath) => {
const fs = require("fs/promises");
const content = await fs.readFile(inputPath, "utf-8");
return yaml.load(content);
}
});

// 3. Collection setup
eleventyConfig.addCollection("people", function(collectionApi) {
return collectionApi.getFilteredByGlob("src/users/*.yaml");
});

return {
dir: {
input: "src",
output: "_site",
includes: "_includes"
}
};
};
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions .gitpod.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .pre-commit-config.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions 404.md

This file was deleted.

1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

16 changes: 0 additions & 16 deletions Gemfile

This file was deleted.

42 changes: 0 additions & 42 deletions README.md

This file was deleted.

39 changes: 0 additions & 39 deletions _config.yml

This file was deleted.

55 changes: 0 additions & 55 deletions _includes/comments.html

This file was deleted.

2 changes: 0 additions & 2 deletions _includes/footer.html

This file was deleted.

Empty file removed _includes/header.html
Empty file.
98 changes: 0 additions & 98 deletions _includes/social-metatags.html

This file was deleted.

Loading
Loading