Permalink
Browse files

basic reveal.js working

still applies same style to all presentations
  • Loading branch information...
JStech committed Oct 5, 2015
1 parent c327648 commit f9a03d95fea6f0309a8336b09766717a0e9c0fea
Showing with 129 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +26 −0 _config.yml
  3. +93 −0 _layouts/reveal.html
  4. +6 −2 _posts/2015-09-21-papers.md
  5. +1 −0 reveal.js
View
@@ -0,0 +1,3 @@
[submodule "reveal.js"]
path = reveal.js
url = https://github.com/hakimel/reveal.js.git
View
@@ -0,0 +1,26 @@
# The Reveal theme
reveal_theme: black.css
# The Reveal transition
reveal_transition: default
# Path to the used theme (defaults to the Reveal.js standard theme path)
reveal_theme_path: reveal.js/css/theme/
# Embed Server-side speaker notes?
reveal_notes_server: false
# Additional reveal.js options
reveal_options:
# Additional reveal.js dependencies
reveal_dependencies:
# Reveal.js subdirectory
reveal_path: reveal.js/
# Don't change anything below
markdown: redcarpet
pygments: true
markdown_ext: ignoreme
View
@@ -0,0 +1,93 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<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 rel="stylesheet" href="/{{ site.reveal_path }}css/reveal.css">
<link rel="stylesheet" href="/{{ site.reveal_theme_path }}{{ site.reveal_theme }}" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="/{{ site.reveal_path }}lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="/{{ site.reveal_path }}css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="/{{ site.reveal_path }}lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$" data-notes="^Note:">
<script type="text/template">
{{ content }}
</script>
</section>
</div>
</div>
<script src="/{{ site.reveal_path }}lib/js/head.min.js"></script>
<script src="/{{ site.reveal_path }}js/reveal.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: '{{ site.reveal_transition }}', // default/cube/page/concave/zoom/linear/fade/none
{% if site.reveal_options %}
{{ site.reveal_options | append:',' }}
{% endif %}
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: '/{{ site.reveal_path }}lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/{{ site.reveal_path }}plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/{{ site.reveal_path }}plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/{{ site.reveal_path }}plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/{{ site.reveal_path }}plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{% if site.reveal_notes_server %}
{ src: '/{{ site.reveal_path }}socket.io/socket.io.js', async: true },
{ src: '/{{ site.reveal_path }}plugin/notes-server/client.js', async: true }
{% else %}
{ src: '/{{ site.reveal_path }}plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
{% endif %}
{% if site.reveal_dependencies %}
, {{ site.reveal_dependencies }}
{% endif %}
]
});
</script>
</body>
</html>
@@ -1,6 +1,6 @@
---
layout: layout
title: Papers
layout: reveal
title: ImageNet and ReNet Papers
pres: true
---
@@ -10,6 +10,10 @@ Neural Network Based Alternative to Convolutional Networks”.
Images are taken from these papers, unless otherwise noted.
When I wrote these slides, I didn't have reveal.js working. It's now working,
but I'm not going back to reformat everything, so my apologies for the poor
appearance.
<br>
---
Submodule reveal.js added at 01c55d

0 comments on commit f9a03d9

Please sign in to comment.