Commit f4b17562 authored by Yohan Jarosz's avatar Yohan Jarosz

update layout

parent 0d59654f
<footer class="site-footer navbar navbar-inverse navbar-fixed-bottom">
<div class="container">
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<br/>
<div class="well">
<div class="row">
<div class="col-xs-12 col-md-6">
<ul class="list-unstyled list-inline">
<li><a href="http://www.uni.lu"><img style="width: 130px" src="https://webdav-r3lab-server.uni.lu/public/biocore/logos/UL-logo.png"></a></li>
<li><a href="http://wwwen.uni.lu/lcsb"><img style="width: 180px" src="https://webdav-r3lab-server.uni.lu/public/biocore/logos/LCSB-logo.png"></a></li>
</ul>
</div>
<div class="footer-col footer-col-2">
</div>
<!-- <div class="footer-col footer-col-3">
<p class="text">{{ site.description }}</p>
</div> -->
</div>
</div>
</footer>
<div class="row">
<div class="col-xs-12 col-md-6">
Copyright © <a href="http://www.uni.lu" target="_blank">Université du Luxembourg</a> 2015. All rights reserved.
</div>
</div>
</div>
<script src="/js/jquery-1.11.3.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<header class="site-header">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
{% if page.index %}
{% assign brand = page.index | split:"$" %}
<a class="navbar-brand" href="{{ site.baseurl }}/web/{{brand[0]}}">{{brand[1]}}</a>
{% endif %}
<ul class="nav navbar-nav">
{% if page.nav %}
{% assign navs = page.nav | split:"," %}
{% for nav in navs %}
{% assign link = nav | split:"$" %}
{% assign myurl = link[0] %}
{% if myurl contains '://' %}
<li class="{% if page.url contains nav %}active{% endif %}"><a href="{{myurl}}">{{link[1]}}</a></li>
{% else %}
<li class="{% if page.url contains nav %}active{% endif %}"><a href="{{myurl}}.html">{{link[1]}}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
<div class="header clearfix">
<div class="container-fluid">
<div class="row">
<a href="http://wwwen.uni.lu/lcsb"><img class="img-responsive center-block header-image" src="https://webdav-r3lab-server.uni.lu/public/biocore/logos/title.uni.lu.Centres.LCSB_en.png"></a>
</div>
</nav>
</header>
<br/>
<div class="row">
<nav class="navbar navbar-default navbar-static-top">
<div class="container-fluid">
{% if page.index %}
{% assign brand = page.index | split:"$" %}
<a class="navbar-brand" href="{{ site.baseurl }}/web/{{brand[0]}}">{{brand[1]}}</a>
{% endif %}
<ul class="nav navbar-nav">
{% if page.nav %}
{% assign navs = page.nav | split:"," %}
{% for nav in navs %}
{% assign link = nav | split:"$" %}
{% assign myurl = link[0] %}
{% if myurl contains '://' %}
<li class="{% if page.url contains nav %}active{% endif %}"><a href="{{myurl}}">{{link[1]}}</a></li>
{% else %}
<li class="{% if page.url contains nav %}active{% endif %}"><a href="{{myurl}}.html">{{link[1]}}</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
</nav>
</div>
</div>
</div>
......@@ -2,8 +2,10 @@
<html>
{% include head.html %}
<body>
{% include header.html %}
<div class="container">{{ content }}</div>
{% include footer.html %}
<div class="container">
{% include header.html %}
{{ content }}
{% include footer.html %}
</div>
</body>
</html>
---
layout: default
---
<div class="post">
<article class="post-content">{{ content }}</article>
<div class="container">
<div>{{ content }}</div>
</div>
......@@ -24,3 +24,7 @@ body {
.carousel-inner > .item > img {
margin: 0 auto;
}
.header-image {
width: 100%;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment