zeus.ugent.be/layouts/blogpost.md

22 lines
401 B
Markdown
Raw Normal View History

2017-04-21 18:54:46 +02:00
<article class="blogpost column is-offset-2 is-8" markdown="1">
2016-10-31 12:29:44 +01:00
<% if item[:toc] %>
2017-04-21 18:54:46 +02:00
<div id="table-of-contents" 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 %>
2017-04-21 18:54:46 +02:00
2017-04-21 19:04:01 +02:00
<div class="main-text content" markdown="1">
2017-04-21 18:54:46 +02:00
<%= yield %>
</div>
</article>