_layouts/fileInfo.html in appscms-tools-theme-1.4.9 vs _layouts/fileInfo.html in appscms-tools-theme-1.5.0

- old
+ new

@@ -3,36 +3,38 @@ {% assign folder = page.folderName %} {% assign fileinfoData= site.data[folder][lang][file] %} <!DOCTYPE html> <html lang="{{fileinfoData.htmlLangAtt}}"> {% include head/index.html %} + <body> {% include header/index.html %} <div class="file-info-page-wrap container"> <div class="row"> -<div class="col-lg-11 mx-auto text-left"> + <div class="col-lg-11 mx-auto text-left"> - <div class=" mt-5" > - {%- if fileinfoData.H1 -%} - <h1 class="file-info-h1 mb-2" >{{fileinfoData.H1}}</h1> - {%- endif -%} - {%- if fileinfoData.H2 -%} - <h2 class="file-info-h2 mb-4" >{{fileinfoData.H2}}</h2> - {%- endif -%} - {%- if fileinfoData.img -%} - <img class="file-info-img w-100 h-100 " src="{{fileinfoData.img}}" alt=""> - {%- endif -%} - </div> - {%- if fileinfoData.display_formats -%} - <div > - {%- include fileformat/fileinfoformat.html -%} - </div> - {%- endif -%} - {% include footer/index.html %} - {% include script.html %} -</div> -</div> + <div class=" mt-5"> + {%- if fileinfoData.H1 -%} + <h1 class="file-info-h1 mb-2">{{fileinfoData.H1}}</h1> + {%- endif -%} + {%- if fileinfoData.H2 -%} + <h2 class="file-info-h2 mb-4">{{fileinfoData.H2}}</h2> + {%- endif -%} + {%- if fileinfoData.img -%} + <img {%- if site.crossorigin -%} crossorigin {%- endif -%} class="file-info-img w-100 h-100 " + src="{{fileinfoData.img}}" alt=""> + {%- endif -%} + </div> + {%- if fileinfoData.display_formats -%} + <div> + {%- include fileformat/fileinfoformat.html -%} + </div> + {%- endif -%} + {% include footer/index.html %} + {% include script.html %} + </div> + </div> -</div> + </div> </body> </html> \ No newline at end of file