【文件属性】:
文件名称:hugo-embed-pdf-shortcode:雨果的简码(https
文件大小:3.74MB
文件格式:ZIP
更新时间:2021-05-03 15:58:51
shortcode hugo pdf-viewer pdfjs embed-pdf
雨果嵌入-pdf-短代码
目录
介绍
这是为在基于的网站中使用而开发的。 此短代码允许您将PDF文件嵌入到Hugo网站上的页面中。 它是由Mozilla使用库开发的。
设置
[回到顶部]
注意:此短代码适用于基于Hugo的网站。 在其他任何地方都无法使用。
克隆此存储库
git clone https://github.com/anvithks/hugo-embed-pdf-shortcode.git
cd hugo-embed-pdf-shortcode
将文件.layouts/shortcodes/embed-pdf.html到Hugo网站目录中的./layouts/shortcodes 。
注意:如果您没有./layouts/shortcodes目录,则可以创建它。
cp ./layouts/shortcodes/embed-pdf.html /path/to/your