Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit e7921d0

Browse files
committed
Update js src links
1 parent 931bd2d commit e7921d0

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

templates/index.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<div id="edit-pane">
1616
<div id="controls">
1717
<a href="/published/{{ .pubTo}}" target="_blank" onclick="save();"> Present</a>
18+
<a href="/published/{{ .pubTo}}?print-pdf" target="_blank" onclick="save();"> Pdf preview</a>
1819
</div>
1920
<div id="editor"></div>
2021
</div>

templates/slides.tmpl

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77

88
<title>reveal.js - The HTML Presentation Framework</title>
99

10-
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
11-
<meta name="author" content="Hakim El Hattab">
10+
<meta name="description" content="An awesome presentation">
11+
<meta name="author" content="">
1212

1313
<meta name="apple-mobile-web-app-capable" content="yes" />
1414
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
1515

1616
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
1717

18-
<link rel="stylesheet" href="/static/revealjs/css/reveal.css">
19-
<link rel="stylesheet" href="/static/revealjs/css/theme/black.css" id="theme">
18+
<link rel="stylesheet" href="/static/reveal.js/css/reveal.css">
19+
<link rel="stylesheet" href="/static/reveal.js/css/theme/black.css" id="theme">
2020

2121
<!-- Code syntax highlighting -->
2222
<link rel="stylesheet" href="/static/revealjs/lib/css/zenburn.css">
@@ -26,9 +26,7 @@
2626
var link = document.createElement( 'link' );
2727
link.rel = 'stylesheet';
2828
link.type = 'text/css';
29-
link.href = window.location.search.match( /print-pdf/gi )
30-
? '/static/revealjs/css/print/pdf.css'
31-
: '/static/revealjs/css/print/paper.css';
29+
link.href = window.location.search.match( /print-pdf/gi ) ? '/static/reveal.js/css/print/pdf.css' : '/static/reveal.js/css/print/paper.css';
3230
document.getElementsByTagName( 'head' )[0].appendChild( link );
3331
</script>
3432

@@ -42,9 +40,15 @@
4240
<div class="slides"></div>
4341
</div>
4442

45-
<script src="/static/revealjs/lib/js/head.min.js"></script>
46-
<script src="/static/revealjs/js/reveal.js"></script>
43+
<script src="/static/revealjs/js/ace-1.1.8/ace.js" type="text/javascript" charset="utf-8"></script>
4744
<script src="/static/revealjs/js/jquery-2.1.3.min.js"></script>
45+
<script src="/static/revealjs/js/jquery-debounce-1.0.5.js" type="text/javascript" charset="utf-8"></script>
46+
<script src="/static/reveal.js/js/reveal.js"></script>
47+
<script src="/static/reveal.js/lib/js/head.min.js"></script>
48+
<script type="text/javascript" src="/static/reveal.js/plugin/highlight/highlight.js"></script>
49+
<script type="text/javascript" src="/static/reveal.js/plugin/notes/notes.js"></script>
50+
<script type="text/javascript" src="/static/reveal.js/plugin/markdown/marked.js"></script>
51+
<script type="text/javascript" src="/static/reveal.js/plugin/markdown/markdown.js"></script>
4852
<script src="/static/js/slides.js"></script>
4953
</body>
5054
</html>

0 commit comments

Comments
 (0)