Fixed featured projects in home page.
This commit is contained in:
parent
e54f2336db
commit
bb218c9c12
11 changed files with 47 additions and 97 deletions
|
|
@ -11,6 +11,11 @@ export default function (eleventyConfig) {
|
|||
eleventyConfig.addPassthroughCopy("authors/**/*.jpg");
|
||||
eleventyConfig.addPassthroughCopy("authors/**/*.jpeg");
|
||||
eleventyConfig.addPassthroughCopy("assets");
|
||||
|
||||
eleventyConfig.addCollection("projects", function(collection) {
|
||||
return collection.getFilteredByGlob("./projects/**/*.md");
|
||||
});
|
||||
|
||||
|
||||
eleventyConfig.addCollection('searchIndex', (collectionApi) => {
|
||||
const result = collectionApi.getAll().map(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue