zeus.ugent.be/layouts/blogpost.md

21 lines
368 B
Markdown
Raw Normal View History

<article class="column is-offset-2 is-8" markdown="1">
<div class="content is-medium" markdown="1">
<%= yield %>
</div>
</article>
2016-10-31 12:29:44 +01:00
<% if item[:toc] %>
<div class="menu column" markdown="1">
2016-10-31 12:37:19 +01:00
<p class="menu-label">
2017-02-03 19:45:52 +01:00
Inhoudstabel
2016-10-31 12:37:19 +01:00
</p>
<% if item[:toc].is_a? Hash %>
2016-10-31 12:29:44 +01:00
* x
2017-02-02 15:48:38 +01:00
{:toc .toc-depth-<%= item[:toc][:depth] %>}
<% else %>
* x
{:toc}
<% end %>
</div>
2016-10-31 12:29:44 +01:00
<% end %>