diff options
author | Ida Delphine <mida@unicef.org> | 2021-08-20 14:07:57 +0300 |
---|---|---|
committer | Ida Delphine <mida@unicef.org> | 2021-08-20 14:07:57 +0300 |
commit | e3ca0791cd2c19258062db806b9eeeb515dbdbad (patch) | |
tree | 64efe31f138708646b42923941ce0640b9524640 | |
parent | f0739959763c679c3f911a36eb50284137af7acf (diff) |
layouts: Add pdf.js and html2pdf cdn
Signed-off-by: Ida Delphine <mida@unicef.org>
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e3693d7..b808548 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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{ |