lib/resources/backends/slim/revealjs-redhat/document.html.slim in hyla-1.0.9.pre.3 vs lib/resources/backends/slim/revealjs-redhat/document.html.slim in hyla-1.0.9
- old
+ new
@@ -1,6 +1,7 @@
- revealjsdir = (attr :revealjsdir, 'revealjs-redhat')
+- revealjsfontfamily = (attr :revealjsfontfamily, 'liberation')
doctype 5
html lang=(attr :lang, 'en' unless attr? :nolang)
head
meta charset="utf-8"
- [:description, :keywords, :author, :copyright].each do |key|
@@ -10,10 +11,10 @@
title=((doctitle :sanitize => true) || (attr 'untitled-label'))
meta name="apple-mobile-web-app-capable" content="yes"
meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"
meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- link href="#{revealjsdir}/lib/css/theme-v2-liberation.css" rel="stylesheet"
+ link href="#{revealjsdir}/lib/css/theme-v2-#{revealjsfontfamily}.css" rel="stylesheet"
link href="#{revealjsdir}/lib/css/theme-output.css" rel="stylesheet"
- if attr? :icons, 'font'
- if attr? 'iconfont-remote'
link rel='stylesheet' href=(attr 'iconfont-cdn', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css')
- else