parent
6c68142cc1
commit
33b46d8a41
2 changed files with 3 additions and 4 deletions
|
@ -36,8 +36,8 @@ func TestTailwindV4Basic(t *testing.T) {
|
|||
"url": "https://github.com/bep/hugo-starter-tailwind-basic.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/cli": "^4.0.0-alpha.26",
|
||||
"tailwindcss": "^4.0.0-alpha.26"
|
||||
"@tailwindcss/cli": "^4.0.1",
|
||||
"tailwindcss": "^4.0.1"
|
||||
},
|
||||
"name": "hugo-starter-tailwind-basic",
|
||||
"version": "0.1.0"
|
||||
|
@ -68,5 +68,5 @@ CSS: {{ $css.Content | safeCSS }}|
|
|||
LogLevel: logg.LevelInfo,
|
||||
}).Build()
|
||||
|
||||
b.AssertFileContent("public/index.html", "/*! tailwindcss v4.0.0")
|
||||
b.AssertFileContent("public/index.html", "/*! tailwindcss v4.")
|
||||
}
|
||||
|
|
|
@ -388,7 +388,6 @@ func (r *resourceAdapter) getImageOps() images.ImageResourceOps {
|
|||
if r.MediaType().SubType == "svg" {
|
||||
panic("this method is only available for raster images. To determine if an image is SVG, you can do {{ if eq .MediaType.SubType \"svg\" }}{{ end }}")
|
||||
}
|
||||
fmt.Println(r.MediaType().SubType)
|
||||
panic("this method is only available for image resources")
|
||||
}
|
||||
r.init(false, false)
|
||||
|
|
Loading…
Add table
Reference in a new issue