Skip to content
Snippets Groups Projects
Unverified Commit 2ce860f3 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added submodule

parent 4a336229
No related branches found
No related tags found
No related merge requests found
[submodule "css/tufte-css"]
path = css/tufte-css
url = https://github.com/edwardtufte/tufte-css.git
[submodule "hakyll-bootstrap/cours/math_tech_info"]
path = hakyll-bootstrap/cours/math_tech_info
url = ssh://git@ssh.hesge.ch:10572/orestis.malaspin/math_tech_info.git
......@@ -115,8 +115,8 @@ archive = do
>>= loadAndApplyTemplate "templates/archive.html" (archiveCtx posts)
>>= relativizeUrls
cours :: Rules ()
cours = do
cours_conc :: Rules ()
cours_conc = do
match "cours/*" $ do
route $ setExtension "html"
-- compile $ myPandocCompiler
......@@ -134,6 +134,25 @@ conc = do
>>= loadAndApplyTemplate "templates/archive.html" (courseCtx posts "Programmation concurrente")
>>= relativizeUrls
cours_mti :: Rules ()
cours_mti = do
match "cours/math_tech_info/02*.md" $ do
route $ setExtension "html"
-- compile $ myPandocCompiler
compile $ bibtexCompiler
>>= loadAndApplyTemplate "templates/post.html" postCtx
>>= relativizeUrls
mti :: Rules ()
mti = do
create ["math_tech_info.html"] $ do
route idRoute
compile $ do
posts <- recentFirst =<< loadAll "cours/math_tech_info/*"
makeItem ""
>>= loadAndApplyTemplate "templates/archive.html" (courseCtx posts "Mathématiques en technologie de l'information")
>>= relativizeUrls
index :: Rules ()
index = do
match "index.html" $ do
......@@ -210,8 +229,10 @@ main :: IO ()
main = hakyllWith cfg $ do
pages
posts
cours
cours_conc
conc
cours_mti
mti
archive
index
templates
......
Subproject commit 295d1cbf15822d9d22bc282c4acb3f13aee6290c
<h2>Team</h2>
<h2>Research group and collaborations</h2>
<hr class="featurette-divider">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment