Skip to content

Commit 800e9c8

Browse files
committed
remove else from img shortcode
1 parent 0d85ad0 commit 800e9c8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • themes/devopsdays-theme/layouts/shortcodes

themes/devopsdays-theme/layouts/shortcodes/img.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
{{ $alt := .Get "alt" }}
44
{{ if $image }}
55
<img src="{{ $image.RelPermalink }}" class="{{ $class }}" alt="{{ $alt }}">
6-
{{ else }}
7-
<strong>Failed to find image</strong>
86
{{ end }}

0 commit comments

Comments
 (0)