From fa8b7ceca85ad429b96ff3755124086e151b29b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Bl=C3=A5berg=20Kristoffersson?= Date: Fri, 13 Dec 2024 08:23:59 +0100 Subject: [PATCH] feat: start minimizing tailwind --- cmd/generator/tailwind.config.js | 2 +- cmd/generator/templates/base.html | 2 +- public/index.html | 2 +- public/my-first-recipe/index.html | 2 +- public/my-second-recipe/index.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/generator/tailwind.config.js b/cmd/generator/tailwind.config.js index 1905b7c..4c9bbfe 100644 --- a/cmd/generator/tailwind.config.js +++ b/cmd/generator/tailwind.config.js @@ -1,6 +1,6 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: ["../../public/**/*.html"], + content: ["./cmd/generator/**/*.html"], theme: { extend: {}, }, diff --git a/cmd/generator/templates/base.html b/cmd/generator/templates/base.html index d28e488..fcfc2e7 100644 --- a/cmd/generator/templates/base.html +++ b/cmd/generator/templates/base.html @@ -6,7 +6,7 @@ {{.Title}} - + {{template "content" .}} diff --git a/public/index.html b/public/index.html index 8e305ba..fa6053d 100644 --- a/public/index.html +++ b/public/index.html @@ -6,7 +6,7 @@ John's Recipes - + my-first-recipemy-second-recipe diff --git a/public/my-first-recipe/index.html b/public/my-first-recipe/index.html index fa0b4a3..881dc13 100644 --- a/public/my-first-recipe/index.html +++ b/public/my-first-recipe/index.html @@ -6,7 +6,7 @@ My First Recipe - +

My First Recipe

My first recipe

diff --git a/public/my-second-recipe/index.html b/public/my-second-recipe/index.html index 4168182..a883b9d 100644 --- a/public/my-second-recipe/index.html +++ b/public/my-second-recipe/index.html @@ -6,7 +6,7 @@ My Second Recipe - +

My Second Recipe

My Second recipe