templates/sidebar.html.slim in asciidoctor-revealjs-1.1.3 vs templates/sidebar.html.slim in asciidoctor-revealjs-2.0.0
- old
+ new
@@ -1,5 +1,8 @@
-.sidebarblock id=@id class=role
- .content
- - if title?
- .title=title
- =content
+- if (has_role? 'aside') or (has_role? 'speaker') or (has_role? 'notes')
+ include notes.html.slim
+- else
+ .sidebarblock id=@id class=role
+ .content
+ - if title?
+ .title=title
+ =content