-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLDLSD
119 lines (51 loc) · 2.96 KB
/
CLDLSD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<script src="{{ site.baseurl }}/reveal.js/lib/js/head.min.js"></script>
<script src="{{ site.baseurl }}/reveal.js/js/reveal.js"></script>
<!-- reveal.js init -->
<script>
var baseUrl = "{{ site.baseurl }}"
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
{% if site.reveal %}
{% 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 %}
{% endfor %}
{% endif %}
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || {% if site.reveal.transition %}'{{ site.reveal.transition }}',{% else %}'default',{% endif %} // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
{ src: baseUrl + '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
// Zoom in and out with Alt+click
{ src: baseUrl + '/reveal.js/plugin/zoom-js/zoom.js', async: true },
// Speaker notes
{ src: baseUrl + '/reveal.js/plugin/notes/notes.js', async: true },
// Remote control your reveal.js presentation using a touch device
//{ src: baseUrl + '/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } },
// MathJax
{ src: baseUrl + '/reveal.js/plugin/math/math.js', async: true }
]
});
{% if site.slideNumber.format and site.slideNumber.format != "none" %}
// Shows the slide number using default formatting
Reveal.configure({ slideNumber: true });
Reveal.configure({ slideNumber: '{{ site.slideNumber.format }}' });
{% endif %}
</script>
<!-- End reveal.js init -->
<!-- Fontawesome -->
<script type="text/javascript">
$(document).ready(function() {
//$("a[href*='youtube.com/']").prepend( $( "<i class='fa fa-youtube-play'> </i>" ) );
//$("a[href*='vimeo.com/']").prepend( $( "<i class='fa fa-vimeo-square'> </i>" ) );
//$("a[href$='/download']").prepend( $( "<i class='fa fa-cloud-download'> </i>" ) );
//$("a.download").prepend( $( "<i class='fa fa-cloud-download'> </i>" ) );
$("a.external").append( $( "<i class='fa fa-external-link'></i>" ) );
$("a.twitter").append( $( "<i class='fa fa-twitter'></i>" ) );
$("a.github").append( $( "<i class='fa fa-github'></i>" ) );
$("blockquote").prepend( $( "<i class='fa fa-quote-left'></i>" ) );
$("a.button.lighter").click( function() { $("html.dark").removeClass("dark").addClass("light"); });
$("a.button.darker").click( function() { $("html.light").removeClass("light").addClass("dark"); });
});
</script>
<!-- End Fontawesome -->