_layouts/fileInfo.html in appscms-tools-theme-3.0.5 vs _layouts/fileInfo.html in appscms-tools-theme-3.0.6

- old
+ new

@@ -1,40 +1,40 @@ -{% assign file = page.fileName %} -{% assign lang = page.lang %} -{% 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=" 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="img"> - {%- endif -%} - </div> - {%- if fileinfoData.display_formats -%} - <div> - {%- include fileformat/fileinfoformat.html -%} - </div> - {%- endif -%} - {% include footer/index.html %} - {% include script.html %} - </div> - </div> - - </div> -</body> - +{% assign file = page.fileName %} +{% assign lang = page.lang %} +{% 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=" 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="img"> + {%- endif -%} + </div> + {%- if fileinfoData.display_formats -%} + <div> + {%- include fileformat/fileinfoformat.html -%} + </div> + {%- endif -%} + {% include footer/index.html %} + {% include script.html %} + </div> + </div> + + </div> +</body> + </html> \ No newline at end of file