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 @@