initial setup. make pages work, basic layouts, config, markdown blog
This commit is contained in:
parent
6979f11d92
commit
af0f3e6268
13 changed files with 438 additions and 12 deletions
11
content/blogposts/blogposts.11tydata.js
Normal file
11
content/blogposts/blogposts.11tydata.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const conf = {
|
||||
tags: "blogpost",
|
||||
layout: "blogpost.njk",
|
||||
eleventyComputed: {
|
||||
permalink(data) {
|
||||
return `/blog/${data.slug}/`;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default conf;
|
Loading…
Add table
Add a link
Reference in a new issue