Skip to content

feat: add lastmod support and fallback to git #223

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

Open
wants to merge 2 commits into
base: release
Choose a base branch
from

Conversation

deimosfr
Copy link

@deimosfr deimosfr commented Apr 12, 2025

Changes

The date of an article can now use lastmod info:

  • If present use it as the last update
  • If absent, fallback to git date Configurable with a new option: useLastmodTime

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

Add lastmod support:
* If present use it as the last update
* If absent, fallback to git date
Configurable with a new option: useLastmodTime
Copy link

netlify bot commented Apr 12, 2025

Deploy Preview for hugo-lotusdocs ready!

Name Link
🔨 Latest commit 345aedd
🔍 Latest deploy log https://app.netlify.com/projects/hugo-lotusdocs/deploys/683ddd912820e50008b4278d
😎 Deploy Preview https://deploy-preview-223--hugo-lotusdocs.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.

@colinwilson colinwilson added the improvment Improve an existing feature label Apr 15, 2025
@colinwilson colinwilson added this to the v0.3.0 milestone Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvment Improve an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants