lando / vitepress-theme-default-plus

The VitePress Default Theme with a little more POWAH
https://vitepress-theme-default-plus.lando.dev/
GNU General Public License v3.0
27 stars 3 forks source link

fix(member): only render member data if provided #27

Closed mtdvlpr closed 7 months ago

mtdvlpr commented 7 months ago

If email and commits is not provided (in my case), the avatar title becomes Manoah <undefined> - NaN commits.

This PR fixes that and only adds the email/commits part if that data is provided.

netlify[bot] commented 7 months ago

Deploy Preview for vitepress-theme-default-plus ready!

Name Link
Latest commit 49f624c8712fdf2081ece738aeabe605b00ba229
Latest deploy log https://app.netlify.com/sites/vitepress-theme-default-plus/deploys/65df3fe9ccf6bb00083c3c0f
Deploy Preview https://deploy-preview-27--vitepress-theme-default-plus.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 93 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

pirog commented 7 months ago

LGTM!