Skip to content

Commit a2823fc

Browse files
committed
Fixed per page style url
1 parent 10ac1d9 commit a2823fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layout/partials/head.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
{%-endfor %}
3333

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

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

0 commit comments

Comments
 (0)