diff --git a/CHANGELOG.md b/CHANGELOG.md index 02f537b..9261982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ - Helpers.Tailwind - add overflow-y-scroll to body - Add twind shim *before* application's head + - CDN: Use latest version always. - TODO(doc) Helpers.Markdown (to be moved to Hackage eventually) - add helpers to parse markdown; `parseMarkdownWithFrontMatter` and `parseMarkdown` - TODO(doc) Add `Ema.Helper.PathTree` diff --git a/src/Ema/Helper/Tailwind.hs b/src/Ema/Helper/Tailwind.hs index 56fa90a..9b52e2a 100644 --- a/src/Ema/Helper/Tailwind.hs +++ b/src/Ema/Helper/Tailwind.hs @@ -58,7 +58,7 @@ layoutWith lang encoding tshim appHead appBody = RU.renderHtml $ do twindShimCdn :: H.Html twindShimCdn = H.link - ! A.href "https://unpkg.com/tailwindcss@2.1.2/dist/tailwind.min.css" + ! A.href "https://unpkg.com/tailwindcss@latest/dist/tailwind.min.css" ! A.rel "stylesheet" ! A.type_ "text/css"