Uh oh!
There was an error while loading. Please reload this page.
Add dependency on jekyll-last-modified-at - #119
Conversation
Add jekyll-last-modified-at to make it easier to time stamp built pages. Currently this requires us to do a static build locally, but it seems like a feature that would be widely used.
benbalter
commented
Feb 5, 2015
@gjtorikian, any strong opinions here? |
parkr
commented
Feb 6, 2015
👍 ✖️ 💯 @aepstein 👋 from a former Cornell student! @benbalter There might be some security concerns around the files passed to |
gjtorikian
commented
Feb 6, 2015
Unfortunately, this plugin simply does not work on GitHub Pages: gjtorikian/jekyll-last-modified-at#32 We've looked into it; the Pages instance only clones with a |
ghost
commented
Mar 1, 2017
That's strange. I just used it on an item in a collection today and it only updated the last modified date for that one item. I left a comment here: gjtorikian/jekyll-last-modified-at#32 I feel it would be very beneficial to have this plug-in as a part of the Pages gem. |
ghost
commented
Mar 1, 2017
@parkr would you mind reopening this until there's been some further investigation? |
gjtorikian
commented
Mar 1, 2017
This PR should go up to Things have changed so much in the last couple of years that this may be working again. Who knows, let's found out! |
benbalter
commented
Mar 1, 2017
@gjtorikian will this work with a shallow (e.g., |
gjtorikian
commented
Mar 1, 2017
I truly have no idea.
I hate to pull the "not my team!" card, but, I am pretty busy at work at the moment and don't have the time to give this a thorough testing. Mostly because I am no longer sure how the internals of Jekyll/Pages work. |
parkr
commented
Mar 1, 2017
We pull with |
Aside: My testing was not on GH Pages, but using Git itself with a Cloud CMS for editing from a Web-based GUI which preserves individual file history. |
gjtorikian
commented
Mar 2, 2017
It should be technically possible. Moreover, right now, given a Git tree, you could list all the entries in that tree via GraphQL. I don't know if that's useful though. |
jimkohl
commented
Sep 5, 2017
Thanks Pat for the references. Apologies for the unnecessary issue! --depth 1 will just grab branch tips and unless I'm missing something that will work ok for publishing purposes. So I brought this into my local jekyll and it seems to be grabbing the timestamps correctly. But it adds a bunch of time to startup as noted. However I'm wondering if it would be possible to whitelist as-is until said optimization above is avail (great idea and willing to assist). That way we could still use it in the interim. Thoughts? |
ghost
commented
Sep 9, 2017
Taking a fresh look at this. Modified dates are a fundamental part of the web and should be worked into core for majority benefit—not just GH pages. |
divadsn
commented
Oct 26, 2017
Highly awaiting this gem to be working, it should be a basic thing in times of modern websites. 😄 |
jayvdb
commented
Mar 6, 2018
Note there are some very serious problems with the plugin, especially its test suite, that need fixing before this should be whitelisted or added as a dependency. |
fingolfin
commented
Feb 3, 2020
I made an update version of this PR (see here for the relevant tree), but then realized this issue is still blocked by the fact that And it seems jekyll/github-metadata#130 also went nowhere so far (due to a lack of volunteers with the time and skills to implement it, I guess). Pity :-( |
nisbet-hubbard
commented
Aug 8, 2024
See #838 (comment) for a different way to automate |
Add jekyll-last-modified-at to make it easier to time stamp built pages. Currently this requires us to do a static build locally, but it seems like a feature that would be widely used.