lvvittor / blog

Lucas Vittor Blog
https://lucasvittor.com
Other
3 stars 0 forks source link

jekyll-postfiles plugin not working when permalink is other than :/title/ in the _config.yml #38

Open lvvittor opened 3 years ago

lvvittor commented 3 years ago

Describe the bug

When changing the permalink in the _config.yml file in the root of the repo, the plugin jekyll-postfiles does not work on deploy mode. By not working I mean that all the assets (i.e images, videos) of blog posts don't work.

To Reproduce

Steps to reproduce the behavior:

  1. Go to _config.yml
  2. Change permalink to other than /:title/
  3. See assets not showing when the site is deployed on Github Pages

Expected behavior

Assets are expected to be seen in blog posts regardless of the permalink configuration.

Additional context

This is possibly related to the Github Action "Build and Deploy to Github Pages" which is a workaround to use third-party plugins while deploying on Github Pages.