Skip to content

Commit

Permalink
fix: hb/assets/css-resource returns false sometime on local developme…
Browse files Browse the repository at this point in the history
…nt (#192)
  • Loading branch information
razonyang authored Mar 12, 2024
1 parent 859295f commit 32dd685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/assets/css-resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"Context" (dict "Page" $page "URL" $style.RelPermalink)
)
}}
{{- $res = $style }}
{{- if eq $dir $page.Site.Language.LanguageDirection }}
{{- $res = $style }}
{{- break }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 32dd685

Please sign in to comment.