Commit 15636f43 authored by Yohan Jarosz's avatar Yohan Jarosz

add imp directory

parent 924b3646
......@@ -10,9 +10,11 @@
{% endif %}
{% if page.type == 'project' or page.type == 'subpage' %}
{% capture prefix %}/web/{{brand[0]}}{% endcapture %}
{% capture prefix %}/web/{{brand[0]}}/{% endcapture %}
{% elsif page.type == 'frozen'%}
{% capture prefix %}/frozen/{{brand[0]}}{% endcapture %}
{% capture prefix %}/frozen/{{brand[0]}}/{% endcapture %}
{% elsif page.type == 'index'%}
{% capture prefix %}{{brand[0]}}{% endcapture %}
{% endif %}
<nav class="navbar navbar-default navbar-static-top">
......@@ -24,7 +26,7 @@
<ul class="nav navbar-nav">
{% if page.nav %}
{% capture indexurl %}{{ site.baseurl }}{{prefix}}{% endcapture %}
{% capture indexurl2 %}{{ site.baseurl }}{{prefix}}/index.html{% endcapture %}
{% capture indexurl2 %}{{ site.baseurl }}{{prefix}}index.html{% endcapture %}
{% assign navs = page.nav | split:"," %}
{% for nav in navs %}
{% assign link = nav | split:"$" %}
......@@ -32,9 +34,9 @@
{% if myurl contains '://' %}
<li><a href="{{myurl}}">{{link[1]}}</a></li>
{% elsif myurl == 'index' and (page.url == indexurl or page.url == indexurl2) %}
<li class="active"><a href="{{ site.baseurl }}{{prefix}}/{{myurl}}.html">{{link[1]}}</a></li>
<li class="active"><a href="{{ site.baseurl }}{{prefix}}{{myurl}}.html">{{link[1]}}</a></li>
{% else %}
<li class="{% if page.url contains myurl and myurl != '/index' and myurl != 'index' %}active{% endif %}"><a href="{{ site.baseurl }}{{prefix}}/{{myurl}}.html">{{link[1]}}</a></li>
<li class="{% if page.url contains myurl and myurl != '/index' and myurl != 'index' %}active{% endif %}"><a href="{{ site.baseurl }}{{prefix}}{{myurl}}.html">{{link[1]}}</a></li>
{% endif %}
{% endfor %}
</ul>
......
---
layout: frozen
index: /frozen/imp.html$Integrated Metaomic Pipeline
nav: /frozen/imp$Home,/frozen/index$R3Lab frozen pages
index: imp$Integrated Metaomic Pipeline
nav: ../index$Frozen pages
theme: paper
type: frozen
title: Frozen IMP
......
---
layout: default
index: /$R3lab
nav: /index$Home,/frozen/index$Frozen pages,/web/index$Websites
nav: ../index$Home,frozen/index$Frozen pages,web/index$Websites
theme: paper
title: Frozen projects
type: index
---
......
---
layout: default
index: /$R3lab
nav: /index$Home,/frozen/index$Frozen pages,/web/index$Websites
nav: index$Home,frozen/index$Frozen pages,web/index$Websites
theme: paper
type: index
---
......
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