Skip to content

Fix profile.html stylesheet link and add theme partial - #1899

Merged
komalharshita merged 1 commit into
komalharshita:mainfrom
ionfwsrijan:fix/1860-profile-stylesheet-fix
Aug 16, 2026
Merged

Fix profile.html stylesheet link and add theme partial#1899
komalharshita merged 1 commit into
komalharshita:mainfrom
ionfwsrijan:fix/1860-profile-stylesheet-fix

Conversation

@ionfwsrijan

Copy link
Copy Markdown
Contributor

Problem

profile.html links a stylesheet named styles.css, but src/static only contains style.css. The profile page (the page users land on after GitHub login) loads with no application CSS and renders unstyled. It also omits the theme_head.html partial that every other page includes, so theme initialization is missing.

Fix

  • Change the stylesheet link from styles.css to style.css.
  • Add {% include 'partials/theme_head.html' %} in the head so profile.html gets the same theme initialization (data-theme attribute + dark-theme body class) as the rest of the site.

Files changed

  • src/templates/profile.html

Testing

  • profile.html now references style.css (exists at src/static/style.css); no styles.css reference remains.
  • theme_head.html partial renders (initThemeInline script present in head).
  • Full suite: 522 passed, 19 pre-existing unrelated failures, 3 skipped.

Closes #1860

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

@ionfwsrijan is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added gssoc-2026 type:bug Something isn't working labels Aug 11, 2026
@komalharshita
komalharshita merged commit e0428e9 into komalharshita:main Aug 16, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: profile.html links nonexistent styles.css (static has style.css) - /profile renders unstyled and misses theme partial

2 participants