diff --git a/build/plugins/legal.js b/build/plugins/legal.js index 7bf2620..98170eb 100644 --- a/build/plugins/legal.js +++ b/build/plugins/legal.js @@ -24,7 +24,28 @@ export default async function build () { const imprintMd = await readFile('./src/legal/imprint.md', { encoding: 'utf-8' }); const imprintHtml = md.render(imprintMd); - const imprintHtmlMinified = await minify(imprintHtml, { + const fullImprintHTML = ` + + + + + + Imprint + + + +
+

+ Imprint +

+
+
+ ${imprintHtml} +
+ +`; + + const imprintHtmlMinified = await minify(fullImprintHTML, { collapseWhitespace: true, collapseInlineTagWhitespace: true, removeComments: true