diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 16:18:41 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 16:18:41 +0200 |
| commit | 1c1122f068032d0f9d11a86d5294cd872a4dda64 (patch) | |
| tree | a1dd7f66a2d775aab9dcfd0a15cdafa99c4155f9 /themes/danix-xyz-hacker/layouts/_default/baseof.html | |
| parent | 0f0fb848fc6f7e6c3333c6b4595aa8dcaff92068 (diff) | |
| download | danixxyz-1c1122f068032d0f9d11a86d5294cd872a4dda64.tar.gz danixxyz-1c1122f068032d0f9d11a86d5294cd872a4dda64.zip | |
Set up Tailwind CSS build pipeline and bilingual homepage content
- Install and configure Tailwind CSS with tailwind.config.js
- Create npm scripts for building Tailwind (build/watch)
- Add .gitignore to exclude node_modules and build artifacts
- Create bilingual homepage content (content/it/_index.md, content/en/_index.md)
- Update baseof.html to use compiled main.min.css
- Fix .ByDate deprecation in list.html template (use sort function)
- Fix main.css pre element to support rgba with opacity
- Homepage now displays with full dark/light theme styling
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/_default/baseof.html')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/_default/baseof.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/baseof.html b/themes/danix-xyz-hacker/layouts/_default/baseof.html index 89653a9..face55d 100644 --- a/themes/danix-xyz-hacker/layouts/_default/baseof.html +++ b/themes/danix-xyz-hacker/layouts/_default/baseof.html @@ -17,7 +17,7 @@ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.css"> <!-- Tailwind CSS --> - {{ $css := resources.Get "css/main.css" | resources.ExecuteAsTemplate "css/main.css" . | minify }} + {{ $css := resources.Get "css/main.min.css" }} <link rel="stylesheet" href="{{ $css.RelPermalink }}"> <!-- Syntax highlighting (Chroma) --> |
