minify tailwind
Deploy Hugo Site / Deploy Batch Tools on beta.batch.tools (push) Failing after 1m23s

This commit is contained in:
2024-04-08 17:01:49 +02:00
parent 5fc12354d0
commit 559194ece2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
{{ $p := where site.RegularPages "Type" "blog" }} {{ $p := where site.RegularPages "Type" "blog" }}
<div class="mx-2 md:mx-0"> <div class="mx-2 md:mx-0">
<picture class="lg:w-full my-4"> <picture>
<source media="(max-width: 376px)" <source media="(max-width: 376px)"
srcset="/img/header-500.webp"> srcset="/img/header-500.webp">
<source media="(max-width: 1400px)" <source media="(max-width: 1400px)"
@@ -10,7 +10,7 @@
srcset="/img/header-1200.webp"> srcset="/img/header-1200.webp">
<img <img
alt="Ein Bild von einer Insel mit Palmen, dem Meer und dem Himmel" src="/img/header.jpg" alt="Ein Bild von einer Insel mit Palmen, dem Meer und dem Himmel" src="/img/header.jpg"
height="280px" width="1200px"> height="280px" width="1200px" class="lg:w-full my-4">
</picture> </picture>
</div> </div>
<div class="flex flex-col lg:flex-row px-2 md:px-0"> <div class="flex flex-col lg:flex-row px-2 md:px-0">
+1 -1
View File
@@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tailwindcss -i ./tailwind.css -o ./assets/style.css", "build": "npx tailwindcss -i ./tailwind.css -o ./assets/style.css --minify",
"watch": "npx tailwindcss -i ./tailwind.css -o ./assets/style.css --watch" "watch": "npx tailwindcss -i ./tailwind.css -o ./assets/style.css --watch"
}, },
"keywords": [], "keywords": [],