diff --git a/.gitignore b/.gitignore index 42477be207..f9b13a5d49 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,29 @@ stack.yaml.lock # Temporary test files tests/tmp logs/ + + +# for website +website/node_modules/ +# Generated files +website/package/generated* + +# Ignore build tool output, e.g. code coverage +website/.nyc_output/ +website/coverage/ + +# Ignore API documentation +website/api-docs/ + +# Ignore folders from source code editors +website/.vscode +website/.idea + +# Ignore eleventy output when doing manual tests +website/_site/ + +website/package-lock.json + +# Ignore test files +website/.cache +website/test/stubs-layout-cache/_includes/*.js \ No newline at end of file diff --git a/website/.eleventy.js b/website/.eleventy.js index af34b70889..fc8854a513 100644 --- a/website/.eleventy.js +++ b/website/.eleventy.js @@ -8,9 +8,8 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy("src/js"); eleventyConfig.addPassthroughCopy("src/contact"); eleventyConfig.addPassthroughCopy("src/app-demo"); - // eleventyConfig.addPassthroughCopy({"../blog":"../src/blog"}); - eleventyConfig.addCollection('posts', function (collection) { + eleventyConfig.addCollection('blogs', function (collection) { return collection.getFilteredByGlob('src/blog/*.md'); }); diff --git a/website/.gitignore b/website/.gitignore deleted file mode 100644 index a8fe7aec09..0000000000 --- a/website/.gitignore +++ /dev/null @@ -1,25 +0,0 @@ -# Generated files -package/generated* - -# Ignore installed npm modules -node_modules/ - -# Ignore build tool output, e.g. code coverage -.nyc_output/ -coverage/ - -# Ignore API documentation -api-docs/ - -# Ignore folders from source code editors -.vscode -.idea - -# Ignore eleventy output when doing manual tests -_site/ - -package-lock.json - -# Ignore test files -.cache -test/stubs-layout-cache/_includes/*.js \ No newline at end of file diff --git a/website/src/post.html b/website/src/post.html index 8de5ec76d9..cc58cff809 100644 --- a/website/src/post.html +++ b/website/src/post.html @@ -7,11 +7,10 @@