5 changed files with 40 additions and 5 deletions
@ -0,0 +1,18 @@ |
|||||||
|
--- |
||||||
|
title: recursor.wf |
||||||
|
--- |
||||||
|
|
||||||
|
# recursor.wf |
||||||
|
|
||||||
|
I like computers but they're just a bit complicated |
||||||
|
|
||||||
|
- Julien Marquet-Wagner |
||||||
|
- [github](https://github.com/thejohncrafter) |
||||||
|
|
||||||
|
Computer Science & Math Student at ENS Ulm |
||||||
|
|
||||||
|
Current topics of interest: |
||||||
|
|
||||||
|
- formal verification with [lean](leanprover.github.io) |
||||||
|
- [Geometry of Interaction](https://ncatlab.org/nlab/show/Geometry+of+Interaction) |
||||||
|
|
@ -1,9 +1,10 @@ |
|||||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||||
<html> |
<html> |
||||||
<head> |
<head> |
||||||
<meta charset="utf-8"/> |
<meta charset="utf-8"> |
||||||
|
<title>$title$</title> |
||||||
</head> |
</head> |
||||||
<body> |
<body> |
||||||
recursor.wf |
$body$ |
||||||
</body> |
</body> |
||||||
</html> |
</html> |
@ -0,0 +1,6 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
TGT=$(mktemp -d) |
||||||
|
cabal v2-install --installdir $TGT/ |
||||||
|
cd ../src |
||||||
|
$TGT/ssg rebuild |
||||||
|
$TGT/ssg watch |
@ -1,10 +1,17 @@ |
|||||||
{-# LANGUAGE OverloadedStrings #-} |
{-# LANGUAGE OverloadedStrings #-} |
||||||
|
|
||||||
|
import Data.Maybe (fromMaybe) |
||||||
|
|
||||||
import Hakyll |
import Hakyll |
||||||
|
|
||||||
main :: IO () |
main :: IO () |
||||||
main = hakyll $ do |
main = hakyll $ do |
||||||
match "index.html" $ do |
match "templates/*" $ |
||||||
route idRoute |
compile templateBodyCompiler |
||||||
compile copyFileCompiler |
|
||||||
|
match "index.md" $ do |
||||||
|
route $ constRoute "index.html" |
||||||
|
compile $ |
||||||
|
pandocCompiler |
||||||
|
>>= loadAndApplyTemplate "templates/default.html" defaultContext |
||||||
|
|
||||||
|
Loading…
Reference in new issue