hugo-shortcode-gallery:静态站点生成器hugo的带有主题画廊代码的主题组件

时间:2021-04-30 11:14:36
【文件属性】:
文件名称:hugo-shortcode-gallery:静态站点生成器hugo的带有主题画廊代码的主题组件
文件大小:89KB
文件格式:ZIP
更新时间:2021-04-30 11:14:36
gallery hugo hugo-theme-component JavaScript 雨果简码画廊 这是雨果的主题组件。 该组件包含一个短代码,以在您的.md文件中包含一个图库。 画廊是使用自动生成的缩略图(呈排列)呈现的。 单击图像,将打开一个可以全屏查看所有图像。 演示版 您可以在上看到此shortcode-gallery的运行情况。 安装 将此git仓库克隆到您的主题文件夹中。 git clone https://github.com/mfg92/hugo-shortcode-gallery.git 接下来,编辑您的项目config.toml并将此主题组件添加到主题中: theme = ["your-main-theme", "hugo-shortcode-gallery"] 要了解有关hugo的主题组件及其使用方法的信息,请访问 。 使用范例 这是一个用法示例: {{< gallery match="images/*" sortOrder="desc" r
【文件预览】:
hugo-shortcode-gallery-master
----config.toml(181B)
----assets()
--------shortcode-gallery()
----static()
--------shortcode-gallery()
----README.md(7KB)
----layouts()
--------shortcodes()

网友评论