fix: layout shift
This commit is contained in:
parent
05ef5cc82d
commit
0085980879
4 changed files with 5 additions and 4 deletions
|
@ -81,6 +81,7 @@ export default async function (eleventyConfig) {
|
|||
if (path && path.endsWith(".html")) {
|
||||
return htmlmin.minify(content, {
|
||||
collapseBooleanAttributes: true,
|
||||
collapseWhitespace: true,
|
||||
decodeEntities: true,
|
||||
includeAutoGeneratedTags: false,
|
||||
minifyCSS: true,
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "2.4.9",
|
||||
"version": "2.4.10",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "2.4.9",
|
||||
"version": "2.4.10",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy-fetch": "4.0.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "2.4.9",
|
||||
"version": "2.4.10",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
storage="local"
|
||||
transition-duration="10ms"
|
||||
>
|
||||
<span class="loading client-side">{{ nowPlaying }}</span>
|
||||
<span class="loading client-side"> {{ nowPlaying }}</span>
|
||||
<span class="content"></span>
|
||||
<noscript>
|
||||
<span>{{ nowPlaying }}</span>
|
||||
|
|
Reference in a new issue