jungvonmatt / contentful-ssg

Export Contentful entries to filesystem (md|yaml) for static site generators (Hugo|Grow|...)
MIT License
14 stars 1 forks source link

Fix: avoid skipping link entries in menus builder #41

Closed sebil closed 2 years ago

sebil commented 2 years ago

This PR fixes missing link type entries in the menus.yaml. If there is an entry of type "link", it will have no contentType, which was the reason why it was filtered out in the menu builder. But such entries already got an id which is now be used to get the entry from the entries map to provide the actual contentType

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication