Moved _dist to _site
parent
79c32785d9
commit
edd92eca6d
|
@ -46,7 +46,7 @@ module.exports = function(eleventyConfig) {
|
||||||
if( h.length>4 ) i++
|
if( h.length>4 ) i++
|
||||||
} return hex.trim()
|
} return hex.trim()
|
||||||
})
|
})
|
||||||
|
|
||||||
// Fold lines
|
// Fold lines
|
||||||
eleventyConfig.addFilter('fold', (str, size) => {
|
eleventyConfig.addFilter('fold', (str, size) => {
|
||||||
// https://stackoverflow.com/a/29202760/3006854
|
// https://stackoverflow.com/a/29202760/3006854
|
||||||
|
@ -81,7 +81,7 @@ module.exports = function(eleventyConfig) {
|
||||||
eleventyConfig.setBrowserSyncConfig({
|
eleventyConfig.setBrowserSyncConfig({
|
||||||
callbacks: {
|
callbacks: {
|
||||||
ready: function(err, browserSync) {
|
ready: function(err, browserSync) {
|
||||||
const content_404 = fs.readFileSync('_dist/404.html')
|
const content_404 = fs.readFileSync('_site/404.html')
|
||||||
|
|
||||||
browserSync.addMiddleware("*", (req, res) => {
|
browserSync.addMiddleware("*", (req, res) => {
|
||||||
// Provides the 404 content without redirect.
|
// Provides the 404 content without redirect.
|
||||||
|
@ -143,7 +143,7 @@ module.exports = function(eleventyConfig) {
|
||||||
input: '_src',
|
input: '_src',
|
||||||
includes: '_includes',
|
includes: '_includes',
|
||||||
data: '_data',
|
data: '_data',
|
||||||
output: '_dist'
|
output: '_site'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
_dist/
|
_site/
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.c9/
|
.c9/
|
Loading…
Reference in New Issue