Skip to content

Commit

Permalink
fix(base): pass template URLs through url filter
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Dec 11, 2023
1 parent 8207eed commit bcca934
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<style type="text/css">
@font-face {
font-family: Cairo;
src: url("/fonts/Cairo/Cairo-Bold.ttf") format("truetype");
src: url({{ '/fonts/Cairo/Cairo-Bold.ttf' | url }}) format("truetype");
font-weight: bold;
}
.bg-dark-tiles {
background-image: url("/img/dark-grey-tile.png");
background-image: url({{ '/img/dark-grey-tile.png' | url }});
}
.pagefind-ui__form:after {
background: url("/img/search.svg") no-repeat 2px center;
background: url({{ '/img/search.svg' | url }}) no-repeat 2px center;
}
</style>
</head>
Expand Down
1 change: 1 addition & 0 deletions content/plugin.njk
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,6 @@
{% endif %}
</ul>
</div>

</div>
</div>

0 comments on commit bcca934

Please sign in to comment.