Compare commits

...

2 commits

Author SHA1 Message Date
84f4b39d5d Merge branch 'main' of https://git.hostux.fr/louis/homepage
All checks were successful
/ build (push) Successful in 20s
/ deploy (push) Successful in 15s
2024-02-08 15:26:31 +01:00
54ec613ede add build version to html comment 2024-02-08 15:26:14 +01:00
2 changed files with 6 additions and 0 deletions

5
src/_data/build.js Normal file
View file

@ -0,0 +1,5 @@
module.exports = function() {
return {
git_reference: process.env.GITHUB_REF_NAME || "missing"
};
};

View file

@ -1,3 +1,4 @@
<!-- Version: {{ build.git_reference }} -->
<!DOCTYPE html>
<html>
<head>