Skip to content

Commit bcca934

Browse files
committed
fix(base): pass template URLs through url filter
1 parent 8207eed commit bcca934

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

_includes/layouts/base.njk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
<style type="text/css">
1515
@font-face {
1616
font-family: Cairo;
17-
src: url("/fonts/Cairo/Cairo-Bold.ttf") format("truetype");
17+
src: url({{ '/fonts/Cairo/Cairo-Bold.ttf' | url }}) format("truetype");
1818
font-weight: bold;
1919
}
2020
.bg-dark-tiles {
21-
background-image: url("/img/dark-grey-tile.png");
21+
background-image: url({{ '/img/dark-grey-tile.png' | url }});
2222
}
2323
.pagefind-ui__form:after {
24-
background: url("/img/search.svg") no-repeat 2px center;
24+
background: url({{ '/img/search.svg' | url }}) no-repeat 2px center;
2525
}
2626
</style>
2727
</head>

content/plugin.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,6 @@
232232
{% endif %}
233233
</ul>
234234
</div>
235+
235236
</div>
236237
</div>

0 commit comments

Comments
 (0)