Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Added a "Published [Date]" footer to non-post pages, displaying the latest of the frontmatter date or the file's modification date. Implemented a new latestDate filter in .eleventy.js and updated the base.njk layout.


PR created automatically by Jules for task 18111078838601130757 started by @si

This change adds a "Published [Date]" footer to all pages that are not posts (e.g., home page, 404 page), excluding the site index. The date displayed is the latest of either the frontmatter date or the file's last modified date, formatted as "DD Mon YYYY".

- Added `latestDate` async filter in `.eleventy.js` to compare and return the latest date.
- Updated `_includes/layouts/base.njk` to include the date display logic for non-post pages.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 20, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
11ty 12f5329 Jan 20 2026, 07:40 PM

@netlify
Copy link

netlify bot commented Jan 20, 2026

Deploy Preview for sijobling ready!

Name Link
🔨 Latest commit 12f5329
🔍 Latest deploy log https://app.netlify.com/projects/sijobling/deploys/696fda0d77bbad000870ffe9
😎 Deploy Preview https://deploy-preview-21--sijobling.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This change adds a footer to all non-post pages (excluding the site index) that displays the text "Originally published on [Date]". The date displayed is the earliest of the frontmatter date, the file's last modified date, or the file's original creation date (retrieved via git log). The text is styled to be centered, italicized, and have 50% opacity.

- Added `getOriginalDate` helper and `earliestDate` async filter in `.eleventy.js` to determine the earliest valid date.
- Updated `_includes/layouts/base.njk` to include the footer logic and styling for non-post pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants