Skip to content
Snippets Groups Projects
Commit c8504950 authored by alexisben's avatar alexisben
Browse files

fix block timeline

parent 6e276142
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,6 @@
overflow: hidden
padding-bottom: $grid-gutter
padding-top: $grid-gutter
// @include media-breakpoint-down(md)
// margin-bottom: 3rem
// &:first-of-type
......
......@@ -6,7 +6,8 @@
<div class="container">
{{ $template := printf "blocks/templates/timeline/%s.html" $layout }}
{{ partial $template (dict
"block" .
"title" $title
"block" .block
"context" $context
) }}
</div>
......
......@@ -6,7 +6,7 @@
) }}
{{ end }}
{{ with .data }}
{{ with .block.data }}
<div class="events">
<ol>
{{ range .events }}
......
......@@ -8,7 +8,7 @@
</div>
{{- end }}
{{ with .data -}}
{{ with .block.data -}}
<div class="events">
{{ range .events -}}
<div class="event">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment