Skip to content

Fix relative paths for CSS and assets - #4

Open
AzkaRizwan wants to merge 2 commits into
CodeWithHarry:mainfrom
AzkaRizwan:main
Open

Fix relative paths for CSS and assets#4
AzkaRizwan wants to merge 2 commits into
CodeWithHarry:mainfrom
AzkaRizwan:main

Conversation

@AzkaRizwan

Copy link
Copy Markdown

Replaced root-relative paths with relative paths so the CSS and background image load when the project is served from a subdirectory.

This updates the stylesheet, page-link, and background-image paths.

  • background: url('/img/bg.png')
  • background: url('../img/bg.png')

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