summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2026-08-30 15:07:55 -0400
committerChris Wells <chris@mathematicaster.org>2026-08-30 15:07:55 -0400
commitc03b5a7cefc269035c476b91b2fb27266e57bcf9 (patch)
tree672827c324c9f7789bebbcc7299f98943240ae4d
parent40d8771ee659f6ce3e60f8ac24573ec8c0262354 (diff)
downloadmain-master.tar
main-master.tar.gz
main-master.tar.bz2
main-master.tar.lz
main-master.tar.xz
main-master.tar.zst
main-master.zip
Fixed links compilerHEADmaster
-rw-r--r--app/Main.hs2
-rw-r--r--www/links/index.md4
-rw-r--r--www/links/tex/index.md4
3 files changed, 9 insertions, 1 deletions
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
diff --git a/www/links/index.md b/www/links/index.md
index 0dcf718..eba4ab8 100644
--- a/www/links/index.md
+++ b/www/links/index.md
@@ -1,3 +1,7 @@
+---
+title: Links
+short_title: Links
+---
# Links
## Haskell
diff --git a/www/links/tex/index.md b/www/links/tex/index.md
index 4dfa7b8..28bdff0 100644
--- a/www/links/tex/index.md
+++ b/www/links/tex/index.md
@@ -1,3 +1,7 @@
+---
+title: LaTeX
+short_title: LaTeX
+---
# LaTeX
If you've never used LaTeX before, I highly recommend using [Overleaf](https://www.overleaf.com).