Skip to content

Enhances search engine optimization and UI#13

Merged
olofk merged 5 commits intofusesoc:mainfrom
anlu85:7-enhance-search-engine-indexing
Sep 30, 2025
Merged

Enhances search engine optimization and UI#13
olofk merged 5 commits intofusesoc:mainfrom
anlu85:7-enhance-search-engine-indexing

Conversation

@anlu85
Copy link
Copy Markdown
Contributor

@anlu85 anlu85 commented Sep 29, 2025

Improves SEO by adding sitemap generation and controlling indexing via a setting. Also enhances the UI with expandable sections for better content organization.

  • Adds sitemap and robots.txt views to improve search engine crawling and indexing.
  • Introduces a SEARCH_ENGINE_INDEXING setting to control whether search engines should index the site.
  • Implements context processors for SEO settings, making them available in templates.
  • Updates templates to include meta descriptions, OG tags, and schema.org structured data.
  • Enhances UI by using expandable sections to organize content in core detail and vendor detail pages.
  • Styles section headers to indicate they are clickable.
  • Updates publish core from GitHub javascript to use the new section-card structure.

Closes #7

Implements SEO enhancements by adding robots.txt and meta robots tag based on a setting to control search engine indexing.
Also generates dynamic sitemaps for vendors, core packages, and static views, improving site discoverability.

The search engine indexing setting is controlled via the `SEARCH_ENGINE_INDEXING` environment variable.
Enhances SEO by adding meta descriptions, og tags, and structured data (JSON-LD) to various templates.

This allows for richer previews when the site is shared on social media platforms and improves search engine visibility.

Also includes a default og-image and canonical URLs.
Refactors the UI to use expandable sections for better organization and user experience.

This change introduces a new JavaScript file to handle the expanding/collapsing behavior of sections,
and updates the CSS to style the expandable sections. It converts several static cards to use
collapsible components, enhancing readability and navigation, and also improves keyboard
accessibility.

Adds sitemap generation based on settings configuration.
Adds metadata, schema.org markup, and breadcrumbs
to enhance search engine optimization for the
"Publish core" page.  This change makes the page
more discoverable and provides richer information
to search engines about the page's content and
context within the FuseSoC Package Directory.
Implements `robots.txt` and `sitemap.xml` views to improve SEO.

Introduces a setting (`INDEXABLE`) to control whether the sitemap is available,
returning a 404 if indexing is disabled.

Adds tests for `robots.txt` and `sitemap.xml` to verify correct behavior based on `INDEXABLE` setting.
@olofk olofk merged commit cac7fdf into fusesoc:main Sep 30, 2025
5 checks passed
@olofk
Copy link
Copy Markdown
Contributor

olofk commented Sep 30, 2025

Thanks! Looks great. Picked and pushed!

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.

Enhance Search Engine Indexing: Automatic Sitemap Generation and Searchability for FuseSoC Package Directory

2 participants