File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ let nbSizes = 0
37
37
*/
38
38
function getTemplateFileNames ( ) {
39
39
return fs . readdirSync ( dir . tpl ) . filter ( function ( tpl ) {
40
- return tpl !== 'default-picture.tpl'
40
+ if ( tpl !== 'default-picture.tpl' && tpl !== 'default-picture-caption.tpl' ) {
41
+ return tpl
42
+ }
41
43
} )
42
44
}
43
45
Original file line number Diff line number Diff line change
1
+ <noscript >
2
+ %%data-location%%
3
+ <img src =" %%default_img%%" %%attributes%% />
4
+ </noscript >
5
+ <picture >
6
+ %%sources%%
7
+ <img %%srcgif%% %%attributes%% />
8
+ </picture >
9
+ <figcaption >%%caption%%</figcaption >
Original file line number Diff line number Diff line change 3
3
<img src =" %%default_img%%" %%attributes%% />
4
4
</noscript >
5
5
<picture >
6
- <!-- [if IE 9]><video style="display: none"><![endif]-->
7
-
8
6
%%sources%%
9
-
10
- <!-- [if IE 9]></video><![endif]-->
11
7
<img %%srcgif%% %%attributes%% />
12
- </picture >
8
+ </picture >
You can’t perform that action at this time.
0 commit comments