Use handlebars templates, add openGraph tags

This commit is contained in:
Joshua Seigler 2019-11-11 12:37:24 -05:00
parent 1f945dab9d
commit 641de02e53
24 changed files with 920 additions and 28 deletions

View file

@ -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`);
}
});