layouts: Add pdf.js and html2pdf cdn

Signed-off-by: Ida Delphine <mida@unicef.org>
This commit is contained in:
Ida Delphine 2021-08-20 12:07:57 +01:00
parent f073995976
commit e3ca0791cd

View file

@ -18,6 +18,10 @@
{{ "<!-- fonts -->" | safeHTML }}
<link href="https://fonts.googleapis.com/css?family={{replace .Site.Params.font_family ' ' '+' | title}}:300,400,700&display=swap" rel="stylesheet">
{{ "<!-- PDF.js -->" | safeHTML }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.9.359/pdf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.3/html2pdf.bundle.js"></script>
<style>
:root{