chore: split out styles + only load where needed

This commit is contained in:
Cory Dransfeldt 2024-01-02 12:50:20 -08:00
parent 37db7d35d6
commit 0e65983a19
No known key found for this signature in database
28 changed files with 250 additions and 287 deletions

View file

@ -3,6 +3,12 @@ layout: main
schema: blog
---
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
{% capture css %}
{% render "../assets/styles/plugins/prism.css" %}
{% endcapture %}
<style>
{{ css | cssmin }}
</style>
<div class="default__wrapper">
<article class="h-entry" data-pagefind-body>
{% if link %}