In my first attempt to set up a test page for this plugin, I tried to do it in a subfolder of my current website. So I put this in my _config.yml
baseurl: "/etc/testing-jekyll-cloudinary" # the subpath of your site, e.g. /blog
url: "http://ericportis.com" # the base hostname & protocol for your site
But the image didn’t live at http://ericportis.com/assets/test.png, it was at http://ericportis.com/etc/testing-jekyll-cloudinary/assets/test.png
Can/should the baseurl be added between the “ericportis.com” and the ”/assets”, there? Without it, I couldn't figure out a way to make this plugin work on a site in a subfolder.
In my first attempt to set up a test page for this plugin, I tried to do it in a subfolder of my current website. So I put this in my
_config.yml
When I built, the plugin turned this tag:
into Cloudinary fetch URLs that looked like this:
But the image didn’t live at
http://ericportis.com/assets/test.png
, it was athttp://ericportis.com/etc/testing-jekyll-cloudinary/assets/test.png
Can/should the
baseurl
be added between the “ericportis.com” and the ”/assets”, there? Without it, I couldn't figure out a way to make this plugin work on a site in a subfolder.