Skip to content

Commit

Permalink
Fix index file reference
Browse files Browse the repository at this point in the history
  • Loading branch information
guifromrio committed May 12, 2014
1 parent d7d974e commit 1e3f206
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is my personal presentations repository, and a simple presentation workflow/framework.

It uses [Grunt Livereload](https://github.com/gruntjs/grunt-contrib-livereload),
It uses Grunt and Livereload,
enabling you to see the changes made to your presentations immediately.

Presentations are based on the excellent [Reveal.js](https://github.com/hakimel/reveal.js).
Expand All @@ -11,7 +11,7 @@ Presentations are based on the excellent [Reveal.js](https://github.com/hakimel/

It is very simple to use this as a bootstrap for your own presentations! You must have [node.js](http://nodejs.org/) installed.

Simply clone the repository and install the [npm](https://github.com/isaacs/npm) depencies:
Simply clone the repository and install the depencies:

git clone git://github.com/gadr90/presentations.git
cd presentations
Expand All @@ -22,4 +22,6 @@ You're done! Now run grunt:

grunt

And you can access your presentations under `localhost:9001/folder/index.html`
And you can access your presentations under `localhost:1990/folder/index.html`

There's a default presentation at `reveal/index.html`. You can start from there.
26 changes: 13 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@

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

<link rel="stylesheet" href="../assets/reveal.js-2.6.2/css/reveal.min.css">
<link rel="stylesheet" href="../assets/reveal.js-2.6.2/css/theme/default.css" id="theme">
<link rel="stylesheet" href="/assets/reveal.js-2.6.2/css/reveal.min.css">
<link rel="stylesheet" href="/assets/reveal.js-2.6.2/css/theme/default.css" id="theme">

<!-- For syntax highlighting -->
<link rel="stylesheet" href="../assets/reveal.js-2.6.2/lib/css/zenburn.css">
<link rel="stylesheet" href="/assets/reveal.js-2.6.2/lib/css/zenburn.css">

<!-- 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';
link.href = '../assets/reveal.js-2.6.2/css/print/pdf.css';
link.href = '/assets/reveal.js-2.6.2/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>

<!--[if lt IE 9]>
<script src="../assets/reveal.js-2.6.2/lib/js/html5shiv.js"></script>
<script src="/assets/reveal.js-2.6.2/lib/js/html5shiv.js"></script>
<![endif]-->
</head>

Expand Down Expand Up @@ -61,8 +61,8 @@ <h3>Presentations</h3>

</div>

<script src="../assets/reveal.js-2.6.2/lib/js/head.min.js"></script>
<script src="../assets/reveal.js-2.6.2/js/reveal.min.js"></script>
<script src="/assets/reveal.js-2.6.2/lib/js/head.min.js"></script>
<script src="/assets/reveal.js-2.6.2/js/reveal.min.js"></script>

<script>

Expand All @@ -83,12 +83,12 @@ <h3>Presentations</h3>

// Optional libraries used to extend on reveal.js
dependencies: [
{ src: '../assets/reveal.js-2.6.2/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../assets/reveal.js-2.6.2/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../assets/reveal.js-2.6.2/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../assets/reveal.js-2.6.2/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../assets/reveal.js-2.6.2/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: '../assets/reveal.js-2.6.2/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
{ src: '/assets/reveal.js-2.6.2/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/assets/reveal.js-2.6.2/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/assets/reveal.js-2.6.2/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/assets/reveal.js-2.6.2/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/assets/reveal.js-2.6.2/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: '/assets/reveal.js-2.6.2/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});

Expand Down

0 comments on commit 1e3f206

Please sign in to comment.