Added example into initial-slides.md and filtered images folder from stash view to prevent errors / creation of images.md file
This commit is contained in:
parent
5ec8a2eb35
commit
3411142e90
3 changed files with 23 additions and 1 deletions
|
@ -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:
|
||||
|
||||
```
|
||||
<img src="../../images/demo.png">
|
||||
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Learn more
|
||||
|
|
4
main.go
4
main.go
|
@ -127,7 +127,9 @@ func NewApp() *gin.Engine {
|
|||
}
|
||||
var stash []string
|
||||
for _, file := range files {
|
||||
stash = append(stash, file.Name())
|
||||
if file.Name() != "images" {
|
||||
stash = append(stash, file.Name())
|
||||
}
|
||||
}
|
||||
c.HTML(200, "stash.tmpl", gin.H{
|
||||
"stash": stash,
|
||||
|
|
BIN
slides/images/demo.png
Normal file
BIN
slides/images/demo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in a new issue