Moved _dist to _site

master
Keith Irwin 2022-10-20 09:53:02 -06:00
parent 79c32785d9
commit edd92eca6d
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
2 changed files with 4 additions and 4 deletions

View File

@ -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'
} }
} }
} }

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
_dist/ _site/
node_modules/ node_modules/
package-lock.json package-lock.json
.c9/ .c9/