Skip to content

Commit

Permalink
fix(head): update stylesheet link for production
Browse files Browse the repository at this point in the history
changed the stylesheet link to use the site's base URL in production, ensuring proper path resolution. The development environment remains unchanged.
  • Loading branch information
Vheissu committed Dec 16, 2024
1 parent cd00832 commit ff6d1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/aurelia-theme/layouts/partials/head/css.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if hugo.IsProduction }}
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css">
{{ else }}
<link rel="stylesheet" href="/css/style.css">
{{ end }}

0 comments on commit ff6d1db

Please sign in to comment.