Skip to content

Commit

Permalink
Fixed per page style url
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Dec 19, 2023
1 parent 10ac1d9 commit a2823fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layout/partials/head.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
{%-endfor %}

{%-for style in page.meta.styles %}
<link href="{{ 'assets/css/' + style + '.css'|url }}" rel="stylesheet">
{%-set href = "assets/css/" + style + ".css" %}
<link href="{{ href|url }}" rel="stylesheet">
{%-endfor %}

{% include "partials/custom-styles.html" %}

0 comments on commit a2823fc

Please sign in to comment.