{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder = page.folderName %} {% assign accessData= site.data[folder][lang][file] %} {% assign compareFiles= accessData.compare_formats %} {%- for i in compareFiles -%} {%- if forloop.index ==1 -%} {%- assign item = i | downcase -%} {%- assign firstFile = site.data.files[lang][item] -%} {%- endif -%} {%- if forloop.index == 2 -%} {%- assign item = i | downcase -%} {%- assign secondFile = site.data.files[lang][item] -%} {%- endif -%} {%- endfor -%} {%- if firstFile and secondFile -%} {%- if firstFile.Format or secondFile.Format -%}

Details of {{firstFile.Format}} and {{secondFile.Format}} file format

{%- endif -%} {%- if firstFile.Format or secondFile.Format -%} {%- endif -%} {%- if firstFile.ShortName or secondFile.ShortName -%} {%- endif -%} {%- if firstFile.FullName or secondFile.FullName -%} {%- endif -%} {%- if firstFile.Category or secondFile.Category -%} {%- endif -%} {%- if firstFile.Pros or secondFile.Pros -%} {%- endif -%} {%- if firstFile.Cons or secondFile.Cons -%} {%- endif -%} {%- if firstFile.Createdby or secondFile.Createdby -%} {%- endif -%} {%- if firstFile.CreatedInYear or secondFile.CreatedInYear -%} {%- endif -%} {%- if firstFile.BasicInformation or secondFile.BasicInformation -%} {%- endif -%} {%- if firstFile.DetailedInformation or secondFile.DetailedInformation -%} {%- endif -%} {%- if firstFile.Softwaresused or secondFile.Softwaresused -%} {%- endif -%}
Format {{firstFile.Format}} {{secondFile.Format}}
Short Name {{firstFile.ShortName}} {{secondFile.ShortName}}
Full Name {{firstFile.FullName}} {{secondFile.FullName}}
Category {{firstFile.Category}} {{secondFile.Category}}
Pros {{firstFile.Pros}} {{secondFile.Pros}}
Cons {{firstFile.Cons}} {{secondFile.Cons}}
Created by {{firstFile.Createdby}} {{secondFile.Createdby}}
Created in {{firstFile.CreatedInYear}} {{secondFile.CreatedInYear}}
Basic information {{firstFile.BasicInformation}} {{secondFile.BasicInformation}}
Detailed information {{firstFile.DetailedInformation}} {{secondFile.DetailedInformation}}
Platform Supported {%- for item in firstFile.Softwaresused -%}
  • {{item.platform}}
  • {%- for data in item.softwares -%}
    {%- if data.image -%} software {%- endif -%}
    {{data.name}}
    {{data.type}}
    {%- endfor -%}
{%- endfor -%}
{%- for item in secondFile.Softwaresused -%}
  • {{item.platform}}
  • {%- for data in item.softwares -%}
    {%- if data.image -%} software {%- endif -%}
    {{data.name}}
    {{data.type}}
    {%- endfor -%}
{%- endfor -%}
{%- else -%} {%- endif -%}