diff --git a/.travis.yml b/.travis.yml
index 5423fe1..4cefb47 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,5 @@
language: go
-before_install:
- mkdir slides
-
install:
go get github.com/franela/goblin
diff --git a/Readme.md b/Readme.md
index 7c74425..a77b264 100644
--- a/Readme.md
+++ b/Readme.md
@@ -71,11 +71,11 @@ Use local images
----
Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:
```
-![demoPicture](../../images/demo.png)
+![demoPicture](/images/demo.png)
```
or as HTML:
```
-
+
```
Getting Help
diff --git a/initial-slides.md b/initial-slides.md
index 82d8b11..f30deca 100644
--- a/initial-slides.md
+++ b/initial-slides.md
@@ -69,6 +69,26 @@ services:
```
+--
+
+## Local images
+
+![demoPicture](/images/demo.png)
+
+Copy images into slides/images/ & include with MD:
+
+```
+![demoPicture](/images/demo.png)
+
+```
+or HTML:
+
+```
+
+
+```
+
+
---
## Learn more
diff --git a/main.go b/main.go
index 52358fa..96d13e9 100644
--- a/main.go
+++ b/main.go
@@ -127,6 +127,9 @@ func NewApp() *gin.Engine {
}
var stash []string
for _, file := range files {
+ if file.IsDir() {
+ continue
+ }
stash = append(stash, file.Name())
}
c.HTML(200, "stash.tmpl", gin.H{
diff --git a/slides/images/demo.png b/slides/images/demo.png
new file mode 100644
index 0000000..37876a5
Binary files /dev/null and b/slides/images/demo.png differ