Browse Source

Fix link in template

Alex Myasoedov 8 years ago
parent
commit
f9ca49080f
2 changed files with 5 additions and 3 deletions
  1. 4 2
      Readme.md
  2. 1 1
      templates/index.tmpl

+ 4 - 2
Readme.md

@@ -1,6 +1,8 @@
 ## Hacker Slides
 
-This repo is a reworked version of [Sandstorm Hacker Slides](https://github.com/jacksingleton/hacker-slides) which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous slides in markdown.  
+This repo is a reworked version of [Sandstorm Hacker Slides](https://github.com/jacksingleton/hacker-slides) which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous slides in markdown.
+
+![foo](https://sc-cdn.scaleengine.net/i/520e2f4a8ca107b0263936507120027e.png)
 
 To build and run it locally
 ```go
@@ -20,4 +22,4 @@ Getting Help
 ------------
 
 For **feature requests** and **bug reports**  submit an issue
-to the GitHub issue tracker 
+to the GitHub issue tracker

+ 1 - 1
templates/index.tmpl

@@ -19,7 +19,7 @@
           <div id="editor"></div>
         </div>
         <div id="preview">
-            <iframe id="slides-frame" src="/static/slides.html?preview"></iframe>
+            <iframe id="slides-frame" src="/published/{{ .pubTo}}?preview"></iframe>
         </div>
 
         <script src="/static/revealjs/js/ace-1.1.8/ace.js" type="text/javascript" charset="utf-8"></script>