templates/sidebar.html.slim in asciidoctor-revealjs-4.0.1 vs templates/sidebar.html.slim in asciidoctor-revealjs-4.1.0.rc2
- old
+ new
@@ -1,8 +1,8 @@
- if (has_role? 'aside') or (has_role? 'speaker') or (has_role? 'notes')
include notes.html.slim
- else
- .sidebarblock id=@id class=role
+ = html_tag('div', { :id => @id, :class => ['sidebarblock', role, ('fragment' if (option? :step) || (has_role? 'step') || (attr? 'step'))] }.merge(data_attrs(@attributes)))
.content
- if title?
.title=title
=content