zeus.ugent.be/layouts/blogpost.md

27 lines
498 B
Markdown
Raw Permalink 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-12-16 19:25:51 +01:00
<div id="table-of-contents" class="menu column is-4" 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-23 12:46:47 +02:00
<div class="content is-medium-responsive" markdown="1">
2017-04-21 18:54:46 +02:00
<%= yield %>
</div>
2018-04-15 00:04:56 +02:00
<div class="content is-medium-responsive" markdown="1">
2018-04-15 00:04:56 +02:00
* x
{:footnotes}
2017-04-21 18:54:46 +02:00
</div>
</article>