dillonzq / LoveIt

❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
https://hugoloveit.com
MIT License
3.38k stars 1.07k forks source link

(bug) fig img css fix and (feat) profile avatar link #867

Closed mnjm closed 4 months ago

mnjm commented 7 months ago

This PR is made up of 2 parts

1. (Bug fix) for images within figure

Before: Images within figure tag were stretched to fill the screen. This resulted in an unpleasant stretching of imgs in some cases (especially phone ss'd imgs) Before After: Images are properly scaled to match their heights After

2. (feature) Profile avatar link

Added a new config param params.home.profile.avatarLink. Used this tag to redirect to upon clicking avatarImg. Link for ex: about page or github profile link :)

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud