Commit c9f25bdf authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Displaying submenu tree in news

parent a3c42125
...@@ -3,20 +3,27 @@ layout: default ...@@ -3,20 +3,27 @@ layout: default
--- ---
<article class="body-wrapper margin-wrapper"> <article class="body-wrapper margin-wrapper">
<div id="left-column"></div> <div id="left-column">
<h2>{{ page.section }}</h2>
<ul>
{% for link in page.news_pages %}
<li><a href="{{ site.baseurl }}{{ link.href }}" {% if link.active %}class="active" {% endif %}>{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
<div> <div>
<header> <header>
<h1> <h1>
{{ page.title | escape }}<br /> {{ page.title | escape }}<br />
<small>{{ page.date | date: '%B %d, %Y' }}</small> <small>{{ page.date | date: '%B %d, %Y' }}</small>
</h1> </h1>
</header> </header>
{{ content }} {{ content }}
<span class="pull-right"> <span class="pull-right">
<a href="{{site.baseurl}}/news">Go back to the news</a> <a href="{{site.baseurl}}/news">Go back to the news</a>
</span> </span>
</div> </div>
</article> </article>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme" spec.name = "jekyll-elixir-theme"
spec.version = "0.6.3" spec.version = "0.6.4"
spec.authors = ["jacek.lebioda"] spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"] spec.email = ["jacek.lebioda@uni.lu"]
......
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