hedgedoc/public/views
David Mehren 3b00601872
Inline CSS & JS into HTML export template
Previously, the HTML export template `html.hbs` included CDN links
for the HTML and CSS resources.

This commit enables Webpack to create a new `htmlexport.html` at
build-time, which includes all resources inline.
That template is then used as before by the frontend to be populated
with the rendered note content.

The tradeoff is that each exported .html file is about 5.6 MB in size,
as we need to inline all fonts (icons & emojis).

Signed-off-by: David Mehren <git@herrmehren.de>
2021-08-15 00:09:53 +02:00
..
hedgedoc Remove cdn support 2021-08-15 00:09:53 +02:00
includes apply review suggestions 2020-11-15 20:12:39 +01:00
index Remove cdn support 2021-08-15 00:09:53 +02:00
shared Remove cdn support 2021-08-15 00:09:53 +02:00
error.ejs Switch to ejs 3 compliant imports 2021-02-09 20:27:39 +01:00
hedgedoc.ejs Templates: Remove lang and add translation parameter 2021-03-16 10:48:44 +01:00
htmlexport.ejs Inline CSS & JS into HTML export template 2021-08-15 00:09:53 +02:00
index.ejs Templates: Remove lang and add translation parameter 2021-03-16 10:48:44 +01:00
pretty.ejs Remove cdn support 2021-08-15 00:09:53 +02:00
slide.ejs Remove cdn support 2021-08-15 00:09:53 +02:00