Skip to content

Fix footer link conditional checks#399

Closed
nikhildixit-321 wants to merge 1 commit into
RedHatOfficial:devfrom
nikhildixit-321:fix-footer-link-conditions
Closed

Fix footer link conditional checks#399
nikhildixit-321 wants to merge 1 commit into
RedHatOfficial:devfrom
nikhildixit-321:fix-footer-link-conditions

Conversation

@nikhildixit-321
Copy link
Copy Markdown

Fix incorrect conditional checks for featured project footer links in templates/index.html.

bug:#396

The Twitter/X and GitHub footer links were incorrectly checking feature.website before rendering. This caused the links to be hidden when a project had a Twitter or GitHub URL but no website configured.

Changes
Replaced feature.website with feature.twitter for the X account link condition
Replaced feature.website with feature.github for the GitHub repo link condition
Result

Each footer link now renders based on its own corresponding field.

@nikhildixit-321 nikhildixit-321 deleted the fix-footer-link-conditions branch May 31, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant