From c03b5a7cefc269035c476b91b2fb27266e57bcf9 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sun, 30 Aug 2026 15:07:55 -0400 Subject: Fixed links compiler --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Main.hs') diff --git a/app/Main.hs b/app/Main.hs index 62f0a51..8a371ea 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -102,7 +102,7 @@ main = do [ ("teaching/books/index.html", "/books/index.html") ] - match "www/links/**/*.md" $ do + match ("www/links/*.md" .||. "www/links/**/*.md") $ do route $ dropParentRoute 1 `composeRoutes` setExtension ".html" compile $ getResourceBody >>= applyAsTemplate baseCtxt >>= myRenderPandoc >>= applyTemplate defaultTemplate baseCtxt -- cgit v1.3.1