diff options
| -rw-r--r-- | app/Main.hs | 2 | ||||
| -rw-r--r-- | www/links/index.md | 4 | ||||
| -rw-r--r-- | www/links/tex/index.md | 4 |
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). |
