zeus.ugent.be/layouts/blogpost.md
2017-02-03 19:45:52 +01:00

20 lines
368 B
Markdown

<article class="column is-offset-2 is-8" markdown="1">
<div class="content is-medium" markdown="1">
<%= yield %>
</div>
</article>
<% if item[:toc] %>
<div class="menu column" markdown="1">
<p class="menu-label">
Inhoudstabel
</p>
<% if item[:toc].is_a? Hash %>
* x
{:toc .toc-depth-<%= item[:toc][:depth] %>}
<% else %>
* x
{:toc}
<% end %>
</div>
<% end %>