diff --git a/build/plugins/legal.js b/build/plugins/legal.js index b2273c8..944a937 100644 --- a/build/plugins/legal.js +++ b/build/plugins/legal.js @@ -24,7 +24,28 @@ export default async function build () { const legalNoticeMd = await readFile('./src/legal/legal_notice.md', { encoding: 'utf-8' }); const legalNoticeHtml = md.render(legalNoticeMd); - const legalNoticeHtmlMinified = await minify(legalNoticeHtml, { + const fullLegalNoticeHTML = ` + + + + + + Legal Notice + + + +
+

+ Legal Notice +

+
+
+ ${legalNoticeHtml} +
+ +`; + + const legalNoticeHtmlMinified = await minify(fullLegalNoticeHTML, { collapseWhitespace: true, conservativeCollapse: true, collapseInlineTagWhitespace: true,