slide.html 3.46 KB
Newer Older
ahmetcecen's avatar
ahmetcecen committed
1
2
3
4
5
6
<!doctype html>
<html lang="en">

	<head>
		<meta charset="utf-8">

ahmetcecen's avatar
ahmetcecen committed
7
		<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
Ahmet Cecen's avatar
Ahmet Cecen committed
8
9
10
11
12
13
		
		{% if site.altmetric == true %}

		{% include altmetric.html %}

		{% endif %}
Ahmet Cecen's avatar
Update    
Ahmet Cecen committed
14
15
		
		{% include ogmeta.html %}
ahmetcecen's avatar
ahmetcecen committed
16
17
18
19
20
21

		<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">

Ahmet Cecen's avatar
Ahmet Cecen committed
22
23
		<link rel="stylesheet" href="{{"/css/reveal.min.css" | prepend: site.baseurl | prepend: site.url}}">
		<link rel="stylesheet" href="{{"/css/theme/default.css" | prepend: site.baseurl | prepend: site.url| replace: 'default',page.theme}}" id="theme"> <!-- This is where THEME --> 
ahmetcecen's avatar
ahmetcecen committed
24
25

		<!-- For syntax highlighting -->
Ahmet Cecen's avatar
Ahmet Cecen committed
26
		<link rel="stylesheet" href="{{"/lib/css/zenburn.css" | prepend: site.baseurl | prepend: site.url}}">
ahmetcecen's avatar
ahmetcecen committed
27
28
29
30
31
32
33

		<!-- If the query includes 'print-pdf', include the PDF print sheet -->
		<script>
			if( window.location.search.match( /print-pdf/gi ) ) {
				var link = document.createElement( 'link' );
				link.rel = 'stylesheet';
				link.type = 'text/css';
ahmetcecen's avatar
ahmetcecen committed
34
				link.href = '{{"/css/print/pdf.css" | prepend: site.baseurl}}';
ahmetcecen's avatar
ahmetcecen committed
35
36
37
				document.getElementsByTagName( 'head' )[0].appendChild( link );
			}
		</script>
38
			
ahmetcecen's avatar
ahmetcecen committed
39
40
41
		<!--[if lt IE 9]>
		<script src="lib/js/html5shiv.js"></script>
		<![endif]-->
42
43
		
		<!-- Pygments Github CSS -->
Ahmet Cecen's avatar
Ahmet Cecen committed
44
		<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl | prepend: site.url }}">
45
46
47
			
		{% include analytics.html %}
		
ahmetcecen's avatar
ahmetcecen committed
48
49
50
51
	</head>

	<body>
		<div class="reveal">
ahmetcecen's avatar
ahmetcecen committed
52
			<div class="slides">
53
{{ content }}
ahmetcecen's avatar
ahmetcecen committed
54
			</div>
ahmetcecen's avatar
ahmetcecen committed
55
		</div>
56
57
58
59
		
		<script src="{{"/lib/js/head.min.js " | prepend: site.baseurl}}"> </script>
		<script src="{{"/js/reveal.min.js " | prepend: site.baseurl}}"></script>
	
ahmetcecen's avatar
ahmetcecen committed
60
61
62
63
64
65
66
67
68
69
70
		<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
ahmetcecen's avatar
ahmetcecen committed
71
				transition: '{{ page.trans }}', // default/cube/page/concave/zoom/linear/fade/none
ahmetcecen's avatar
ahmetcecen committed
72
73
74
75
76
77
78

				// Parallax scrolling
				// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
				// parallaxBackgroundSize: '2100px 900px',

				// Optional libraries used to extend on reveal.js
				dependencies: [
ahmetcecen's avatar
ahmetcecen committed
79
80
81
82
83
					{ src: '{{"/lib/js/classList.js" | prepend: site.baseurl}}', condition: function() { return !document.body.classList; } },
					{ src: '{{"/plugin/markdown/marked.js" | prepend: site.baseurl}}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: '{{"/plugin/markdown/markdown.js" | prepend: site.baseurl}}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: '{{"/plugin/highlight/highlight.js" | prepend: site.baseurl}}', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
					{ src: '{{"/plugin/zoom-js/zoom.js" | prepend: site.baseurl}}', async: true, condition: function() { return !!document.body.classList; } },
Ahmet Cecen's avatar
Fix    
Ahmet Cecen committed
84
					{ src: '{{"/plugin/notes/notes.js" | prepend: site.baseurl}}', async: true, condition: function() { return !!document.body.classList; } },
85
        			{ src: '{{"/plugin/math/math.js" | prepend: site.baseurl}}', async: true }
ahmetcecen's avatar
ahmetcecen committed
86
87
88
				]
			});

Ahmet Cecen's avatar
Ahmet Cecen committed
89
		</script>		
ahmetcecen's avatar
ahmetcecen committed
90
	</body>
Ahmet Cecen's avatar
Ahmet Cecen committed
91
	
Ahmet Cecen's avatar
Ahmet Cecen committed
92

ahmetcecen's avatar
ahmetcecen committed
93
</html>