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:
parent
74285e314d
commit
b56fe21a2b
22 changed files with 1247 additions and 131 deletions
|
|
@ -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
|
||||
}));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue