Set up minimal index page listing posts
This commit is contained in:
parent
fd5e0004ce
commit
29fca76702
8 changed files with 82 additions and 20 deletions
|
|
@ -1,5 +1,10 @@
|
|||
module.exports = function (eleventyConfig) {
|
||||
eleventyConfig.setBrowserSyncConfig({
|
||||
const { DateTime } = require('luxon')
|
||||
|
||||
module.exports = function (config) {
|
||||
config.setBrowserSyncConfig({
|
||||
files: './_site/assets/*.css'
|
||||
})
|
||||
|
||||
config.addFilter("toISODate", (dateObj) =>
|
||||
DateTime.fromJSDate(dateObj).toISODate())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue