lib/resources/backends/slim/revealjs/section.html.slim in hyla-1.0.5 vs lib/resources/backends/slim/revealjs/section.html.slim in hyla-1.0.6
- old
+ new
@@ -1,16 +1,16 @@
- resize_text = (attr? :resize_section) ? (attr :resize_section) : false
- if resize_text == 'true'
div style="position:absolute; top:150px; left:10px; right:10px;"
- section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
+ section id=@id class=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
h2=title
- if attr? :scrollbar
.scrollbar
=content
- else
=content.chomp
- else
- section id=@id data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
+ section id=@id class=(attr 'data-state') data-transition=(attr 'data-transition') data-transition-speed=(attr 'data-transition-speed') data-background=(attr 'data-background') data-background-size=(attr 'data-background-size') data-background-repeat=(attr 'data-background-repeat') data-background-transition=(attr 'data-background-transition')
h2=title
- if attr? :scrollbar
.scrollbar
=content
- else
\ No newline at end of file