added local draco hosting, thumbnails and new design
This commit is contained in:
parent
ad7d092728
commit
3d4e229916
14 changed files with 193 additions and 31 deletions
|
|
@ -14,6 +14,11 @@ module.exports = function (eleventyConfig) {
|
|||
zone: "Europe/Berlin"
|
||||
}).setLocale("de").toLocaleString(DateTime.DATE_FULL)
|
||||
})
|
||||
|
||||
eleventyConfig.addFilter("excerpt", (post) => {
|
||||
const content = post.replace(/(<([^>]+)>)/gi, "");
|
||||
return content.substr(0, content.lastIndexOf(" ", 200)) + "...";
|
||||
});
|
||||
return {
|
||||
passthroughFileCopy: true,
|
||||
dir: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue