Skip to content

Commit

Permalink
feat: import scripts via frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus authored Oct 25, 2024
1 parent a887ee5 commit eb8327b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/_includes/layouts/page.webc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
layout: base.webc
---

<div webc:for="script of [scripts].flat()" webc:nokeep>
<script type="module" :src="script" async webc:keep></script>
</div>

<a href="#main" class="visually-hidden">Skip to main content</a>

<header>
Expand Down

0 comments on commit eb8327b

Please sign in to comment.