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

added stuff

parent 8550442d
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ static = do ...@@ -64,7 +64,7 @@ static = do
match "fonts/*" $ do match "fonts/*" $ do
route idRoute route idRoute
compile $ copyFileCompiler compile $ copyFileCompiler
match "img/*" $ do match ("img/*" .||. "img/*/**.png") $ do
route idRoute route idRoute
compile $ copyFileCompiler compile $ copyFileCompiler
match "css/*" $ do match "css/*" $ do
...@@ -74,13 +74,20 @@ static = do ...@@ -74,13 +74,20 @@ static = do
route idRoute route idRoute
compile $ copyFileCompiler compile $ copyFileCompiler
resize :: Rules () resizeThumbnails :: Rules ()
resize = do resizeThumbnails = do
match "img/thumbnails/**.png" $ do match "img/thumbnails/**.png" $ do
route idRoute route idRoute
compile $ loadImage compile $ loadImage
>>= scaleImageCompiler 140 140 >>= scaleImageCompiler 140 140
resizeLarge :: Rules ()
resizeLarge = do
match "img/large/**.png" $ do
route idRoute
compile $ loadImage
>>= scaleImageCompiler 900 500
pages :: Rules () pages :: Rules ()
pages = do pages = do
match "pages/*" $ do match "pages/*" $ do
...@@ -205,6 +212,7 @@ main = hakyllWith cfg $ do ...@@ -205,6 +212,7 @@ main = hakyllWith cfg $ do
archive archive
index index
templates templates
resize resizeThumbnails
resizeLarge
static static
hakyll-bootstrap/img/large/epicells.png

435 KiB

hakyll-bootstrap/img/large/q_0_5.0000.png

233 KiB

...@@ -30,32 +30,32 @@ ...@@ -30,32 +30,32 @@
</ol> </ol>
<div class="carousel-inner"> <div class="carousel-inner">
<div class="item active"> <div class="item active">
<img data-src="holder.js/900x500/social/text: " alt="First slide"> <img src="img/large/q_0_5.0000.png" alt="Fluid mechanics">
<div class="container"> <div class="container">
<div class="carousel-caption"> <div class="carousel-caption">
<h1></h1> <!-- <h1 style="color:black;">Computational fluid mechanics</h1>
<p></p> <p style="color:black;">Flow pas a sphere at Re=3900</p> -->
<p><a class="btn btn-lg btn-primary" href="https://www.palabos.org" role="button">Palabos</a></p> <p><a class="btn btn-lg btn-primary" href="https://www.palabos.org" role="button">Computational fluid dynamics</a></p>
</div> </div>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<img data-src="holder.js/900x500/industrial/text: " alt="Second slide"> <img src="img/large/live_stream.png" alt="Live stream">
<div class="container"> <div class="container">
<div class="carousel-caption"> <div class="carousel-caption">
<h1></h1> <!-- <h1>Live stream</h1>
<p></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</a></p> <p><a class="btn btn-lg btn-primary" href="https://www.mixer.com/omhepia" role="button">Live stream: Mixer.com</a></p>
</div> </div>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<img data-src="holder.js/900x500/vine/text: " alt="Third slide"> <img data-src="holder.js/900x500/vine/text: " alt="EpiCells">
<div class="container"> <div class="container">
<div class="carousel-caption"> <div class="carousel-caption">
<h1></h1> <h1></h1>
<p></p> <p></p>
<p><a class="btn btn-lg btn-primary" href="#" role="button">Case Studies</a></p> <p><a class="btn btn-lg btn-primary" href="http://www.epicells.unige.ch/index.php" role="button">EpiCells: epithelial cells simulation</a></p>
</div> </div>
</div> </div>
</div> </div>
......
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