Skip to content
Snippets Groups Projects
Commit 068e8ce4 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

template html files

parent 892936c5
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<![endif]--> <![endif]-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
</head> </head>
<body> <body>
...@@ -37,13 +38,12 @@ ...@@ -37,13 +38,12 @@
<div class="reveal"> <div class="reveal">
<div class="slides"> <div class="slides">
<% _.forEach(slides, function(slide) { %> <% _.forEach(slides, function(slide) { %>
<% if (!_.isArray(slide)) { %> <% if (!_.isArray(slide)) { %>
<%= section(slide) %> <%= section(slide) %>
<% } %> <% } %>
<% if (_.isArray(slide)) { %> <% if (_.isArray(slide)) { %>
<section> <section data-transition="none">
<% _.forEach(slide, function(verticalslide) { %> <% _.forEach(slide, function(verticalslide) { %>
<%= section(verticalslide) %> <%= section(verticalslide) %>
<% }); %> <% }); %>
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
<% } %> <% } %>
<% }); %> <% }); %>
</div> </div>
<div style="width: 10%; bottom: 2%; left: 3%; position: absolute; z-index: 9999;"> <div class="bottomLogoLeft">
<img src="img/University-of-Luxembourg-Fr-01.svg" height="110px"> <img src="img/University-of-Luxembourg-Fr-01.svg" height="110px">
</div> </div>
<div style="width: 10%; bottom: 3%; right: 3%; position: absolute; z-index: 9999;"> <div class="bottomLogoRight">
<img src="img/LCSB_short_small_4c_cropped.svg" height="86px"> <img src="img/LCSB_short_small_4c_cropped.svg" height="86px">
</div> </div>
</div> </div>
<script src="bower_components/reveal.js/lib/js/head.min.js"></script> <script src="bower_components/reveal.js/lib/js/head.min.js"></script>
......
<% if (!_.isString(slide) && !_.isArray(slide) && _.isObject(slide)) { %> <% if (!_.isString(slide) && !_.isArray(slide) && _.isObject(slide)) { %>
<section data-separator="^\n\n\n" <section data-separator="^\n\n\n"
data-transition="none"
data-vertical="^\n\n" data-vertical="^\n\n"
<%= _.map(slide.attr, function (val, attr) {return attr + '="' + val + '"'}).join(' ')%> <% if (_.isString(slide.filename)) { %>data-<% if (slide.filename.indexOf('.html') !== -1) { %>html<% } else { %>markdown<% }%>="slides/<%= slide.filename %>"<% } %>></section> <%= _.map(slide.attr, function (val, attr) {return attr + '="' + val + '"'}).join(' ')%> <% if (_.isString(slide.filename)) { %>data-<% if (slide.filename.indexOf('.html') !== -1) { %>html<% } else { %>markdown<% }%>="slides/<%= slide.filename %>"<% } %>></section>
<% } %><% if (_.isString(slide)) { %> <% } %><% if (_.isString(slide)) { %>
<section data-separator="^\n\n\n" <section data-separator="^\n\n\n"
data-transition="none"
data-vertical="^\n\n" data-vertical="^\n\n"
data-<% if (slide.indexOf('.html') !== -1) { %>html<% } else { %>markdown<% }%>="slides/<%= slide %>"></section> data-<% if (slide.indexOf('.html') !== -1) { %>html<% } else { %>markdown<% }%>="slides/<%= slide %>"></section>
<% } %> <% } %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment