Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface Last Update Info on Content Pages #1147

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

erikaheidi
Copy link
Collaborator

@erikaheidi erikaheidi commented Nov 17, 2023

This PR adds a note at the bottom of content pages with the date and time of last update, as registered with the lastmod parameter in the front matter.

To hide the last updated date for an article, add hide_lastmod: true to the frontmatter.

Live preview: https://deploy-preview-1147--ornate-narwhal-088216.netlify.app/chainguard/chainguard-registry/overview/

@erikaheidi erikaheidi requested a review from a team as a code owner November 17, 2023 17:40
Copy link

netlify bot commented Nov 17, 2023

Deploy Preview for ornate-narwhal-088216 ready!

Name Link
🔨 Latest commit 7b9ee87
🔍 Latest deploy log https://app.netlify.com/sites/ornate-narwhal-088216/deploys/6557a5a784ecad00085cbc67
😎 Deploy Preview https://deploy-preview-1147--ornate-narwhal-088216.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 site configuration.

Copy link
Collaborator

@SharpRake SharpRake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

@erikaheidi erikaheidi merged commit 0a56c44 into main Nov 20, 2023
8 checks passed
@mattmoor mattmoor deleted the surface-content-date branch March 9, 2024 22:24
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.

2 participants