Added new box style for page headers, support for hint when hovering interactible elements, add support for expanding 88x31 pictures on click, updated index look and feel/text, switch to macros for reusable elements, fix ccd path, rename main.js to music to better reflect it's purpose and update i18n.js export global strings.

This commit is contained in:
天クマ 2026-04-21 20:32:49 -03:00
commit b56fe21a2b
22 changed files with 1247 additions and 131 deletions

View file

@ -1,5 +1,6 @@
const fs = require("fs");
const path = require("path");
const i18n = require('./_data/i18n.js');
module.exports = function(eleventyConfig) {
eleventyConfig.addCollection("post", function(collectionApi) {
@ -21,7 +22,8 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addCollection("88x31", () => {
return fs.readdirSync("static/images/88x31")
.map(file => ({
url: `/static/images/88x31/${file}`
url: `/static/images/88x31/${file}`,
fileSlug: file
}));
});