Skip to content
This repository was archived by the owner on Aug 9, 2020. It is now read-only.

Commit 78e8155

Browse files
committed
fix references to nonexistent submodule
1 parent 6428574 commit 78e8155

File tree

2 files changed

+30
-79
lines changed

2 files changed

+30
-79
lines changed

_includes/head.html

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
11
<meta charset="utf-8">
2+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
23

34
<title>{% if post.title %}{{ post.title }} | {{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
45

5-
<meta name="author" content="{{ site.author }}">
6-
<meta name="description" content="{{ site.description }}">
7-
8-
<meta name="apple-mobile-web-app-capable" content="yes">
9-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
6+
<link rel="stylesheet" href="{{ site.baseurl }}/node_modules/reveal.js/css/reveal.css">
107

11-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
8+
<link rel="stylesheet" href="{{site.baseurl}}/node_modules/reveal.js/css/reset.css">
9+
<link rel="stylesheet" href="{{site.baseurl}}/node_modules/reveal.js/css/reveal.css">
10+
<link rel="stylesheet" href="{{site.baseurl}}/node_modules/reveal.js/css/theme/moon.css">
1211

13-
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css">
14-
<!-- jQuery -->
15-
<script src="{{ site.baseurl }}/assets/js/jquery-1.11.1.min.js"></script>
12+
<!-- Theme used for syntax highlighting of code -->
13+
<link rel="stylesheet" href="{{site.baseurl}}/node_modules/reveal.js/lib/css/monokai.css">
1614

17-
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
15+
<!-- Printing and PDF exports -->
1816
<script>
19-
if( window.location.search.match( /print-pdf/gi ) ) {
20-
var link = document.createElement( 'link' );
21-
link.rel = 'stylesheet';
22-
link.type = 'text/css';
23-
link.href = '{{ site.baseurl }}/reveal.js/css/print/pdf.css';
24-
document.getElementsByTagName( 'head' )[0].appendChild( link );
25-
}
26-
</script>
27-
28-
<!--[if lt IE 9]>
29-
<script src="{{ site.baseurl }}/reveal.js/lib/js/html5shiv.js"></script>
30-
<![endif]-->
17+
var link = document.createElement( 'link' );
18+
link.rel = 'stylesheet';
19+
link.type = 'text/css';
20+
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'node_modules/reveal.js/css/print/paper.css';
21+
document.getElementsByTagName( 'head' )[0].appendChild( link );
22+
</script>

_includes/script.html

Lines changed: 16 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,16 @@
1-
<script src="{{ site.baseurl }}/reveal.js/lib/js/head.min.js"></script>
2-
<script src="{{ site.baseurl }}/reveal.js/js/reveal.js"></script>
3-
4-
<!-- reveal.js init -->
5-
<script>
6-
var baseUrl = "{{ site.baseurl }}"
7-
// Full list of configuration options available here:
8-
// https://github.com/hakimel/reveal.js#configuration
9-
Reveal.initialize({
10-
{% if site.reveal %}
11-
{% for attr in site.reveal %}{{attr[0]}}: {% unless {attr[1]} == false or {attr[1]} == true or {attr[0]} == "width" or {attr[0]} == "height" %}'{{attr[1]}}',{% else %}{{attr[1]}},{% endunless %}
12-
{% endfor %}
13-
{% endif %}
14-
15-
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
16-
transition: Reveal.getQueryHash().transition || {% if site.reveal.transition %}'{{ site.reveal.transition }}',{% else %}'default',{% endif %} // default/cube/page/concave/zoom/linear/fade/none
17-
18-
// Optional libraries used to extend on reveal.js
19-
dependencies: [
20-
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
21-
{ src: baseUrl + '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
22-
23-
// Zoom in and out with Alt+click
24-
{ src: baseUrl + '/reveal.js/plugin/zoom-js/zoom.js', async: true },
25-
26-
// Speaker notes
27-
{ src: baseUrl + '/reveal.js/plugin/notes/notes.js', async: true },
28-
29-
// Remote control your reveal.js presentation using a touch device
30-
//{ src: baseUrl + '/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
31-
]
32-
});
33-
34-
{% if site.slideNumber.format and site.slideNumber.format != "none" %}
35-
// Shows the slide number using default formatting
36-
Reveal.configure({ slideNumber: true });
37-
Reveal.configure({ slideNumber: '{{ site.slideNumber.format }}' });
38-
{% endif %}
39-
</script>
40-
<!-- End reveal.js init -->
41-
42-
<!-- Fontawesome -->
43-
<script type="text/javascript">
44-
$(document).ready(function() {
45-
//$("a[href*='youtube.com/']").prepend( $( "<i class='fa fa-youtube-play'>&nbsp;</i>" ) );
46-
//$("a[href*='vimeo.com/']").prepend( $( "<i class='fa fa-vimeo-square'>&nbsp;</i>" ) );
47-
//$("a[href$='/download']").prepend( $( "<i class='fa fa-cloud-download'>&nbsp;</i>" ) );
48-
//$("a.download").prepend( $( "<i class='fa fa-cloud-download'>&nbsp;</i>" ) );
49-
$("a.external").append( $( "<i class='fa fa-external-link'></i>" ) );
50-
$("a.twitter").append( $( "<i class='fa fa-twitter'></i>" ) );
51-
$("a.github").append( $( "<i class='fa fa-github'></i>" ) );
52-
$("blockquote").prepend( $( "<i class='fa fa-quote-left'></i>" ) );
53-
$("a.button.lighter").click( function() { $("html.dark").removeClass("dark").addClass("light"); });
54-
$("a.button.darker").click( function() { $("html.light").removeClass("light").addClass("dark"); });
55-
});
56-
</script>
57-
<!-- End Fontawesome -->
1+
<script src="{{ site.baseurl }}/node_modules/reveal.js/js/reveal.js"></script>
2+
3+
<script>
4+
// More info about config & dependencies:
5+
// - https://github.com/hakimel/reveal.js#configuration
6+
// - https://github.com/hakimel/reveal.js#dependencies
7+
Reveal.initialize({
8+
hash: true,
9+
dependencies: [
10+
{ src: 'node_modules/reveal.js/plugin/markdown/marked.js' },
11+
{ src: 'node_modules/reveal.js/plugin/markdown/markdown.js' },
12+
{ src: 'node_modules/reveal.js/plugin/highlight/highlight.js' },
13+
{ src: 'node_modules/reveal.js/plugin/notes/notes.js', async: true }
14+
]
15+
});
16+
</script>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy