Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gethugothemes/dot-hugo-documentation-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIda Delphine <mida@unicef.org>2021-08-20 14:07:57 +0300
committerIda Delphine <mida@unicef.org>2021-08-20 14:07:57 +0300
commite3ca0791cd2c19258062db806b9eeeb515dbdbad (patch)
tree64efe31f138708646b42923941ce0640b9524640
parentf0739959763c679c3f911a36eb50284137af7acf (diff)
layouts: Add pdf.js and html2pdf cdn
Signed-off-by: Ida Delphine <mida@unicef.org>
-rw-r--r--layouts/partials/head.html4
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{