Three years ago, I switched all my sites to WordPress. However, since I am not pleased at all with the move toward Gutenberg, I am now looking at other options for future sites - or possibly future migrations of existing sites.
I have started testing Grav, and I am quite impressed. I am testing it on localhost (MAMP, I am on Mac). Since I need to have the ability to embed a PDF in some of my posts, I have just installed and tested the PDF-JS plugin. I have installed it as instructed, and copied user/plugins/pdf-js/pdf-js.yaml
to user/config/plugins/pdf-js.yaml
- settings are correct, i.e. enabled: true and height: 300.
I have uploaded the PDF I want to insert in my test page to the media section of that page. It is there, if I click on it I can see it.
However, when I insert the shortcode on my page: [pdfjs file=2018-2019-MUCIVI-conferences.pdf/], or [pdfjs=2018-2019-MUCIVI-conferences.pdf/], I can only see the shortcode on my published page, the PDF itself does not show.
Pretty sure I am missing something here, since I am not yet familiar with Grav, but what? What should I do in order to have the PDF show on the page, and not merely the shortcode?
I thank you in advance for any information.