Skip to content

Use IUrlHelper to resolve site.css path in tag helper - #851

Merged
poppastring merged 1 commit into
mainfrom
theme-stylesheets-pathbase
Jun 14, 2026
Merged

poppastring merged 1 commit into
mainfrom
theme-stylesheets-pathbase

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Use IUrlHelper to resolve site.css path in tag helper

ThemeStylesheetsTagHelper now injects IUrlHelperFactory and ViewContext to generate the site.css URL using urlHelper.Content, ensuring correct path resolution across different hosting environments.

ThemeStylesheetsTagHelper now injects IUrlHelperFactory and ViewContext to generate the site.css URL using urlHelper.Content, ensuring correct path resolution across different hosting environments.
@poppastring
poppastring merged commit c6109d1 into main Jun 14, 2026
3 checks passed
@poppastring
poppastring deleted the theme-stylesheets-pathbase branch June 14, 2026 03:37
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