From 094ad38e3e624249c75b5ff5afd8ffc5094e290b Mon Sep 17 00:00:00 2001 From: Graham Barber Date: Sun, 4 Aug 2024 18:24:26 -0700 Subject: [PATCH] disable tailwind styles, add build script to package Also add a gitkeep to maintain the `static` directory --- package.json | 2 +- pages/home.templ | 2 +- static/.gitkeep | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 static/.gitkeep diff --git a/package.json b/package.json index f489516..ccbccb0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "build": "tailwindcss -o static/styles.css --minify" }, "keywords": [], "author": "", diff --git a/pages/home.templ b/pages/home.templ index fa17f38..b18adbe 100644 --- a/pages/home.templ +++ b/pages/home.templ @@ -12,7 +12,7 @@ templ Home(profileUrl string, posts []*types.Post) { - + //

Micropub and IndieAuth Server Demo

diff --git a/static/.gitkeep b/static/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/static/.gitkeep @@ -0,0 +1 @@ + -- 2.51.2