lib/resources/backends/slim/revealjs/document.html.slim in hyla-1.0.7.pre.1 vs lib/resources/backends/slim/revealjs/document.html.slim in hyla-1.0.7.pre.2

- old
+ new

@@ -1,7 +1,7 @@ -- slide_vertical_alignment = (attr? :revealjs_vertical_alignment) ? (attr :revealjs_vertical_alignment) : true -- browser_history = (attr? :revealjs_history) ? (attr :revealjs_history) : true +- slide_vertical_alignment = (attr? :revealjs_vertical_alignment) ? (attr :revealjs_vertical_alignment) : false +- browser_history = (attr? :revealjs_history) ? (attr :revealjs_history) : false - display_slide_number = (attr? :revealjs_display_slide_number) ? (attr :revealjs_display_slide_number) : false - transition = (attr? :revealjs_transition) ? (attr :revealjs_transition) : 'default' doctype 5 html lang=(attr :lang, 'en' unless attr? :nolang) head @@ -23,13 +23,13 @@ link rel='stylesheet' href='#{attr :revealjs_customtheme}' id='theme' - else link rel='stylesheet' href='revealjs/css/theme/gpe.css' id='theme' - if attr? :icons, 'font' - - if !(attr 'iconfont-remote', '').nil? + - if attr? 'iconfont-remote' link rel='stylesheet' href=(attr 'iconfont-cdn', 'http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css') - else - link rel='stylesheet' href=normalize_web_path("#{attr 'iconfont-name', 'font-awesome'}.css", (attr :stylesdir, '')) + link rel='stylesheet' href=normalize_web_path("#{attr 'iconfont-name', 'font-awesome'}.css", (attr :revealjs_vendor_stylesdir, 'revealjs/lib/css/')) // For syntax highlighting link href="revealjs/lib/css/zenburn.css" rel="stylesheet" - case attr 'source-highlighter'