fix: excerpt
This commit is contained in:
parent
4b9e1b40b9
commit
647bb2b44b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ title: 'Using an Eleventy event to optimise component JavaScript'
|
|||
description: "I've added a small event to optimize web component JavaScript when my site builds."
|
||||
tags: ['development', 'javascript', 'Eleventy']
|
||||
---
|
||||
My site leverages a number of web component for functionality on my site. Namely: mastodon post embeds, search, my now playing component, my theme toggle, post sharing and YouTube embeds. It's all loaded on pages only as needed but, I wanted to make sure it was all minified.
|
||||
My site leverages a number of web component for functionality on my site. Namely: mastodon post embeds, search, my now playing component, my theme toggle, post sharing and YouTube embeds. It's all loaded on pages only as needed but, I wanted to make sure it was all minified.<!-- excerpt -->
|
||||
|
||||
So, I've created this event in `events/index.js`:
|
||||
|
||||
|
|
Reference in a new issue