You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
Hi there, could somebody point me in the right direction? I am trying to use the default gallery plugin. What I've done so far.
create a page and put $! gallery !$ on that page
I am unsure where to place the gallery directory (images folder)? The error that I get is :
/usr/bin/lua5.1: .../rocks-5.1/luapress/4.1.2-0/plugins/gallery/init.lua:77: Gallery: not a directory: gallery/gallery
stack traceback:
[C]: in function 'error'
.../rocks-5.1/luapress/4.1.2-0/plugins/gallery/init.lua:77: in function 'plugin'
/usr/local/share/lua/5.1/luapress/util.lua:169: in function '_process_plugins'
/usr/local/share/lua/5.1/luapress/util.lua:223: in function '_process_content'
/usr/local/share/lua/5.1/luapress/util.lua:312: in function 'load_markdowns'
/usr/local/share/lua/5.1/luapress.lua:216: in function 'build'
...lib/luarocks/rocks-5.1/luapress/4.1.2-0/bin/luapress:210: in function 'build'
...lib/luarocks/rocks-5.1/luapress/4.1.2-0/bin/luapress:237: in main chunk
I've tried placing the 'gallery' folder (with images) in several different locations, but the error above keeps occurring.
I noticed that the plugin uses lhtml, but my template is using mustache, would this cause of the error?
I have the latest version of imagemagick (Version: ImageMagick 7.0.10-3 Q16 x86_64 2020-04-01)