1
0
Fork 0
mirror of https://github.com/Unkn0wnCat/KevinK.dev.js.git synced 2025-07-07 19:57:28 +02:00

Normalize Code Style

This commit is contained in:
Kevin Kandlbinder 2020-12-27 03:44:12 +01:00
parent f62930067b
commit 75c52c744d
36 changed files with 508 additions and 526 deletions

View file

@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const path = require(`path`);
exports.createPages = async ({ actions, graphql, reporter }) => {
@ -23,9 +24,10 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
}
result.data.allProjectsJson.nodes.forEach((node) => {
// eslint-disable-next-line no-undef
console.log("Creating Page: ", `/${node.lang}/projects/${node.urlname}`);
if(node.lang !== "ignoreme") createPage({
if (node.lang !== "ignoreme") createPage({
path: `/${node.lang}/projects/${node.urlname}`,
component: projectTemplate,
context: {