Refactored out 'layout.ts'

This commit is contained in:
Pieter Vander Vennet 2020-11-11 16:23:49 +01:00
parent 36f5e896df
commit 73f32e0ecf
30 changed files with 465 additions and 400 deletions

View file

@ -246,7 +246,12 @@ export default class MetaTagging {
static addMetatags(features: any[]) {
for (const metatag of MetaTagging.metatags) {
metatag.addMetaTags(features);
try {
metatag.addMetaTags(features);
} catch (e) {
console.error("Could not calculate metatag ", metatag.keys.join(","), ":", e)
}
}
}