Skip to content

Commit

Permalink
Use relative url function for custom CSS files (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Ricci <[email protected]>
  • Loading branch information
daniele-athome authored and Bud Parr committed Sep 19, 2018
1 parent 6fe34fd commit 1d79e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{{ end }}

{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
<link rel="stylesheet" href="{{ relURL ($.Site.BaseURL) }}{{ . }}">
{{ end }}

{{ block "favicon" . }}
Expand Down

0 comments on commit 1d79e2d

Please sign in to comment.