mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-07 05:05:20 +00:00
user computed similar to custom-style (#78)
This commit is contained in:
parent
11b837c01a
commit
acfea37940
@ -1,5 +1,4 @@
|
||||
{
|
||||
|
||||
"filesToDelete": [
|
||||
"src/site/styles/style.css"
|
||||
],
|
||||
@ -10,7 +9,8 @@
|
||||
"src/site/img/default-note-icon.svg",
|
||||
"src/site/img/tree-1.svg",
|
||||
"src/site/img/tree-2.svg",
|
||||
"src/site/img/tree-3.svg"
|
||||
"src/site/img/tree-3.svg",
|
||||
"src/helpers/userUtils.js"
|
||||
],
|
||||
"filesToModify": [
|
||||
".eleventy.js",
|
||||
|
7
src/helpers/userUtils.js
Normal file
7
src/helpers/userUtils.js
Normal file
@ -0,0 +1,7 @@
|
||||
// Put your computations here.
|
||||
|
||||
function userComputed(data) {
|
||||
return {};
|
||||
}
|
||||
|
||||
exports.userComputed = userComputed;
|
@ -1,5 +1,7 @@
|
||||
const { getGraph } = require("../../helpers/linkUtils");
|
||||
const { userComputed } = require("../../helpers/userUtils");
|
||||
|
||||
module.exports = {
|
||||
graph: (data) => getGraph(data),
|
||||
}
|
||||
userComputed: (data) => userComputed(data),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user