Skip to content

Commit

Permalink
Rename data folder to fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hjonin committed Feb 5, 2024
1 parent 0f6ebe1 commit 0d3bd95
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 0 additions & 4 deletions content/data/awesome.njk

This file was deleted.

4 changes: 0 additions & 4 deletions content/data/sill.njk

This file was deleted.

4 changes: 4 additions & 0 deletions content/internaldata/awesome.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
permalink: /internaldata/awesome.json
---
{{ awesome | dump | safe }}
4 changes: 4 additions & 0 deletions content/internaldata/sill.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
permalink: /internaldata/sill.json
---
{{ sill | dump | safe }}
4 changes: 2 additions & 2 deletions public/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
const sillSoftwareImg = document.querySelector(".sill .fr-card__header img");

const getSill = async () => {
const response = await fetch(`${window.location.origin}/data/sill.json`);
const response = await fetch(`${window.location.origin}/internaldata/sill.json`);
return await response.json();
}

Expand All @@ -25,7 +25,7 @@
const awesomeProjectImg = document.querySelector(".awesome .fr-card__header img");

const getAwesome = async () => {
const response = await fetch(`${window.location.origin}/data/awesome.json`);
const response = await fetch(`${window.location.origin}/internaldata/awesome.json`);
return await response.json();
}

Expand Down

0 comments on commit 0d3bd95

Please sign in to comment.