diff --git a/exampleSite/content/installation/configuration/_index.en.md b/exampleSite/content/installation/configuration/_index.en.md index 4a5e15c..a407959 100644 --- a/exampleSite/content/installation/configuration/_index.en.md +++ b/exampleSite/content/installation/configuration/_index.en.md @@ -24,4 +24,6 @@ Note that some of these parameters are explained in details in other sections of # Call to action is default enabled, if you want to disable it. just change the enable = false # You can change banner title and other text from the config file. -``` \ No newline at end of file +``` + +{{< embed-pdf pdfName="sample.pdf">}} \ No newline at end of file diff --git a/exampleSite/static/pdfs/sample.pdf b/exampleSite/static/pdfs/sample.pdf new file mode 100644 index 0000000..c0e31a0 Binary files /dev/null and b/exampleSite/static/pdfs/sample.pdf differ diff --git a/layouts/shortcodes/embed-pdf.html b/layouts/shortcodes/embed-pdf.html new file mode 100644 index 0000000..7ce06ab --- /dev/null +++ b/layouts/shortcodes/embed-pdf.html @@ -0,0 +1,111 @@ + + +
+
+
+
+ + / + +
+ + View PDF +
+ +
+ \ No newline at end of file