layouts: Add pdf.js and html2pdf cdn
Signed-off-by: Ida Delphine <mida@unicef.org>
This commit is contained in:
parent
f073995976
commit
e3ca0791cd
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,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{
|
||||
--primary-color:{{ .Site.Params.primary_color }};
|
||||
|
|
Loading…
Reference in a new issue