chore: link post + pagefind fix

This commit is contained in:
Cory Dransfeldt 2023-09-19 17:16:55 -07:00
parent d53d0f9505
commit 7133b3d589
No known key found for this signature in database
3 changed files with 16 additions and 3 deletions

View file

@ -17,7 +17,7 @@ meta:
image:
src: https://coryd.dev/assets/img/avatar.webp
---
<link href="https://coryd.dev/_pagefind/pagefind-ui.css" rel="stylesheet">
<link href="https://coryd.dev/pagefind/pagefind-ui.css" rel="stylesheet">
<style>
:root {
--pagefind-ui-font: InterVariable, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
@ -35,5 +35,5 @@ meta:
}
</style>
<div id="search" class="search"></div>
<script src="https://coryd.dev/_pagefind/pagefind-ui.js" onload="new PagefindUI({ element: '#search', showImages: false})"></script>
<script src="https://coryd.dev/pagefind/pagefind-ui.js" onload="new PagefindUI({ element: '#search', showImages: false})"></script>
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}