adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.9k stars 2.69k forks source link

fix: use `<time>` tag #1560

Open scarf005 opened 3 months ago

scarf005 commented 3 months ago

What does this PR change? What problem does it solve?

replaces usage of <span> in datetime format to <time>. using time tag helps accessibility (e.g for screen readers) by adding a semantic token for times.

Was the change discussed in an issue or in the Discussions before?

i haven't, as it seemed like a tiny change.

PR Checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud