StaticJsCMS / static-cms

A Git-based CMS for Static Site Generators
https://staticcms.org
MIT License
579 stars 52 forks source link

feat: add a new setting logo_link #1070

Closed blahetal closed 5 months ago

blahetal commented 5 months ago

Hi, I added a new config logo_link which when set wraps the logo in the top left corner in an anchor/link. The link can be set to another page or to a page in cms giving you a quick access to your fav page (it is like a home button which will transfer to your index page).

In the next major version, it would be good to group logo_url and logo_link in one object/setting, like logo: { url: "...", link: "..." }.

netlify[bot] commented 5 months ago

Deploy Preview for demo-staticjscms ready!

Name Link
Latest commit 9b155a9e9c5bf43b0aeed61c7e66bcd596807970
Latest deploy log https://app.netlify.com/sites/demo-staticjscms/deploys/65aa7e50f3335b0008f2101b
Deploy Preview https://deploy-preview-1070.demo.staticcms.org
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 site configuration.

netlify[bot] commented 5 months ago

Deploy Preview for staticjscms ready!

Name Link
Latest commit 9b155a9e9c5bf43b0aeed61c7e66bcd596807970
Latest deploy log https://app.netlify.com/sites/staticjscms/deploys/65aa7e504815bf0008417763
Deploy Preview https://deploy-preview-1070.staticcms.org
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 site configuration.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (32684a0) 55.87% compared to head (9b155a9) 55.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1070 +/- ## ======================================= Coverage 55.87% 55.87% ======================================= Files 259 259 Lines 12314 12314 Branches 3089 3089 ======================================= Hits 6880 6880 Misses 5027 5027 Partials 407 407 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.