summaryrefslogtreecommitdiff
path: root/_data
diff options
context:
space:
mode:
Diffstat (limited to '_data')
-rw-r--r--_data/buildInfo.js11
-rw-r--r--_data/metadata.js2
2 files changed, 13 insertions, 0 deletions
diff --git a/_data/buildInfo.js b/_data/buildInfo.js
new file mode 100644
index 0000000..3fb3c37
--- /dev/null
+++ b/_data/buildInfo.js
@@ -0,0 +1,11 @@
+import { execSync } from "child_process";
+
+export default () => {
+ const latestGitCommitHash = execSync("git rev-parse --short=10 HEAD")
+ .toString()
+ .trim();
+
+ return {
+ hash: latestGitCommitHash,
+ };
+};
diff --git a/_data/metadata.js b/_data/metadata.js
new file mode 100644
index 0000000..0de832b
--- /dev/null
+++ b/_data/metadata.js
@@ -0,0 +1,2 @@
+export const title = "Light PF Does Ultimate";
+export const language = "en";