mirror of
https://github.com/seigler/generative
synced 2025-07-26 22:56:10 +00:00
Use handlebars templates, add openGraph tags
This commit is contained in:
parent
1f945dab9d
commit
641de02e53
24 changed files with 920 additions and 28 deletions
|
@ -1,6 +1,6 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let path = document.location.pathname.split('/');
|
||||
if (path.length > 1) {
|
||||
require('./sketches/' + path[path.length - 2]);
|
||||
require(`${path[path.length - 2]}/index`);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue