From 8b40a4b1c18392e421dacdb5e8562f6059a4c98e Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sun, 2 Mar 2025 01:00:52 -0600 Subject: [PATCH] Switched to the OG CLI --- lib/stylegen/gen.sh | 6 +++--- pages/templates/home.html | 1 - pages/templates/layouts/base.html | 5 ++++- pages/templates/layouts/post.html | 3 +++ pages/templates/papers.html | 1 - pages/templates/partials/header.html | 2 +- pages/templates/post.html | 1 - pages/templates/posts.html | 1 - pages/templates/projects.html | 1 - pages/templates/talks.html | 1 - pages/templates/tools.html | 1 - pages/templates/tools.resize.html | 1 - pages/templates/tools.ssedemo.html | 1 - public/css/daisyui.css | 7 +++++++ public/css/styles.css | 2 +- public/css/themes.css | 1 + 16 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 public/css/daisyui.css create mode 100644 public/css/themes.css diff --git a/lib/stylegen/gen.sh b/lib/stylegen/gen.sh index 77ae8ef..a29acad 100755 --- a/lib/stylegen/gen.sh +++ b/lib/stylegen/gen.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Define the version of the binary to download -VERSION="v1.7.27" +VERSION="v4.0.9" # Parse command-line arguments while [[ $# -gt 0 ]]; do @@ -67,7 +67,7 @@ echo "Detected Architecture: $ARCH" # Function to construct the binary download URL based on version, OS, and architecture get_binary_url() { - echo "https://github.com/dobicinaitis/tailwind-cli-extra/releases/download/$VERSION/tailwindcss-extra-$OS-$ARCH" + echo "https://github.com/tailwindlabs/tailwindcss/releases/download/$VERSION/tailwindcss-extra-$OS-$ARCH" } # Create the 'tw' directory for storing the downloaded binary @@ -75,7 +75,7 @@ TW_DIR="${SCRIPT_DIR}/tw" mkdir -p "$TW_DIR" # Set the binary path -BINARY="${TW_DIR}/tailwindcss-extra-${OS}-${ARCH}" +BINARY="${TW_DIR}/tailwindcss-${OS}-${ARCH}" # Check if the binary is already downloaded, otherwise download it if [ ! -f "$BINARY" ]; then diff --git a/pages/templates/home.html b/pages/templates/home.html index 7f9448f..e1793a8 100644 --- a/pages/templates/home.html +++ b/pages/templates/home.html @@ -11,7 +11,6 @@ Atridad Lahiji // Root {{end}} {{define "head"}} - {{end}} {{define "main"}} diff --git a/pages/templates/layouts/base.html b/pages/templates/layouts/base.html index 108ff43..57bb3d9 100644 --- a/pages/templates/layouts/base.html +++ b/pages/templates/layouts/base.html @@ -8,13 +8,16 @@ {{template "title" .}} + + + {{template "head" .}} {{template "header" .}} -
+
{{template "main" .}}
diff --git a/pages/templates/layouts/post.html b/pages/templates/layouts/post.html index bbe7c66..9f3d5a9 100644 --- a/pages/templates/layouts/post.html +++ b/pages/templates/layouts/post.html @@ -9,6 +9,9 @@ {{template "title" .}} + + + {{template "head" .}} diff --git a/pages/templates/papers.html b/pages/templates/papers.html index e8ba780..56e4315 100644 --- a/pages/templates/papers.html +++ b/pages/templates/papers.html @@ -11,7 +11,6 @@ Atridad Lahiji // Papers {{end}} {{define "head"}} - {{end}} {{define "main"}} diff --git a/pages/templates/partials/header.html b/pages/templates/partials/header.html index 5c4717a..556fd9b 100644 --- a/pages/templates/partials/header.html +++ b/pages/templates/partials/header.html @@ -10,7 +10,7 @@