Edits to readme.md, and some project housekeeping. Repo is a little less
messy.
This commit is contained in:
parent
6d4f8e7439
commit
61ba9a12d4
24 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ module.exports = function (eleventyConfig) {
|
||||||
// Collection: all posts sorted by date descending
|
// Collection: all posts sorted by date descending
|
||||||
eleventyConfig.addCollection("posts", function (collectionApi) {
|
eleventyConfig.addCollection("posts", function (collectionApi) {
|
||||||
return collectionApi
|
return collectionApi
|
||||||
.getFilteredByGlob("blog/posts/**/*.md")
|
.getFilteredByGlob("src/blog/posts/**/*.md")
|
||||||
.sort((a, b) => b.date - a.date);
|
.sort((a, b) => b.date - a.date);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@ module.exports = function (eleventyConfig) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dir: {
|
dir: {
|
||||||
input: ".",
|
input: "src",
|
||||||
output: "_site",
|
output: "_site",
|
||||||
includes: "_includes",
|
includes: "_includes",
|
||||||
data: "_data",
|
data: "_data",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue