diff options
| -rw-r--r-- | app/Main.hs | 6 | ||||
| -rw-r--r-- | templates/default.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Main.hs b/app/Main.hs index ea3ea01..86db104 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -102,9 +102,9 @@ main = do route $ dropParentRoute 1 `composeRoutes` setExtension ".html" compile $ getResourceBody >>= applyAsTemplate baseCtxt >>= myRenderPandoc >>= applyTemplate defaultTemplate baseCtxt - -- match "www/contact/*.html" $ do - -- route $ dropParentRoute 1 - -- compile $ getResourceBody >>= applyAsTemplate baseCtxt >>= applyTemplate defaultTemplate baseCtxt + match "www/contact/*.html" $ do + route $ dropParentRoute 1 + compile $ getResourceBody >>= applyAsTemplate baseCtxt >>= applyTemplate defaultTemplate baseCtxt -- -- match "www/code/*.html" $ do -- route $ dropParentRoute 1 diff --git a/templates/default.html b/templates/default.html index 68424ff..d547849 100644 --- a/templates/default.html +++ b/templates/default.html @@ -42,7 +42,7 @@ <span class="pull-right"> <a href="/research"><i class="fa fa-book"></i> Research</a> <a href="/teaching"><i class="fa fa-chalkboard-teacher"></i> Teaching</a> - <a href="/links"><i class="fa fa-link"></i> Links</a> + <!-- <a href="/links"><i class="fa fa-link"></i> Links</a> --> <!-- <a href="https://git.mathematicaster.org/"><i class="fa fa-code"></i> Code</a> --> <a href="/contact"><i class="fa fa-address-book"></i> Contact</a> <a href="/doc/cv.pdf"><i class="fa fa-file-alt"></i> CV</a> |
