Hi everyone,
I turned a GitHub style activity tracker into a reusable Hugo module:
Repo:
Build write-up:
https://hugomelis.nl/experiments/experiment-20-open-source-contribution-github-style-activity-component/
It renders a GitHub-style activity heatmap from all of the published Hugo pages and is generic by default.
Features:
- works with any section or all regular pages
- supports
Date,PublishDate, orLastmod - supports binary and density modes
- no JavaScript required
- configurable nouns, labels, and start-date display
I also submitted it to the Hugo themes directory.
Happy to hear if the API or defaults should be improved.