pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

Whitelist plugin request: `jekyll-last-modified-at`

Open BenSouchet opened this issue 2 years ago • 3 comments

Hi, After looking for a way to display the last modification date of pages / collections, I found a good Jekyll plugin that do that: jekyll-last-modified-at.

But, since the plugin isn't whitelisted I cannot use it directly with the Github Pages native flow. I forced to build the Jekyll site and then push the result to Github.

So, I decided to create this "issue" to discuss and know if it was possible to whitelist the plugin.

If there is a better alternative / way / plugin to display the last modification date of a page (without adding it manually via front matter) I'm interested.

Before submitting an issue, please be sure to

This issue affects

  • [x] The site generated by GitHub Pages
  • [ ] Building sites locally

The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.

BenSouchet avatar Jun 20 '22 13:06 BenSouchet

dupe of #119

also it just seems like it just wouldn't work in the GH Pages environment because of how the source files are processed

you can still build locally and push static content!

kevinnls avatar Jun 24 '22 20:06 kevinnls

GitHub Actions may or may not solve this issue as well. I believe by default, the actions/checkout action does a shallow clone so if you use Actions with this plugin, remember to enable a full clone.

parkr avatar Jun 24 '22 22:06 parkr