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

a bit of cleaning and adapting for automatic site deploy

parent ccb0fdeb
No related branches found
No related tags found
No related merge requests found
...@@ -61,16 +61,12 @@ indexCtx posts = ...@@ -61,16 +61,12 @@ indexCtx posts =
static :: Rules () static :: Rules ()
static = do static = do
match "fonts/*" $ do match ("fonts/*"
route idRoute .||. "img/*"
compile $ copyFileCompiler .||. "img/*/**.png"
match ("img/*" .||. "img/*/**.png") $ do .||. "css/*"
route idRoute .||. "js/*"
compile $ copyFileCompiler .||. "cours/math_tech_info/figs/*") $ do
match "css/*" $ do
route idRoute
compile compressCssCompiler
match "js/*" $ do
route idRoute route idRoute
compile $ copyFileCompiler compile $ copyFileCompiler
...@@ -136,7 +132,7 @@ conc = do ...@@ -136,7 +132,7 @@ conc = do
cours_mti :: Rules () cours_mti :: Rules ()
cours_mti = do cours_mti = do
match "cours/math_tech_info/02*.md" $ do match "cours/math_tech_info/*.markdown" $ do
route $ setExtension "html" route $ setExtension "html"
-- compile $ myPandocCompiler -- compile $ myPandocCompiler
compile $ bibtexCompiler compile $ bibtexCompiler
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="carousel-caption"> <div class="carousel-caption">
<!-- <h1>Live stream</h1> <!-- <h1>Live stream</h1>
<p>Checkout if I'm live</p> --> <p>Checkout if I'm live</p> -->
<p><a class="btn btn-lg btn-primary" href="https://www.mixer.com/omhepia" role="button">Live stream: Mixer.com</a></p> <p><a class="btn btn-lg btn-primary" href="https://www.twitch.tv/omhepia" role="button">Live stream: Twitch.tv</a></p>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> Cours <b class="caret"></b></a> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Cours <b class="caret"></b></a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="#">Mathématiques en technologie de l'information</a></li> <li><a href="/math_tech_info.html">Mathématiques en technologie de l'information</a></li>
<li><a href="#">Programmation séquentielle en C</a></li> <li><a href="#">Programmation séquentielle en C</a></li>
<li><a href="/prog_conc.html">Programmation concurrente</a></li> <li><a href="/prog_conc.html">Programmation concurrente</a></li>
<li class="divider"></li> <li class="divider"></li>
......
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