{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign dataArr = site.data.[page.folderName][lang][file] %} {% assign dataToShow = dataArr %} {% assign title = dataToShow.TITLE | replace:"$variable", page.value | default:page.title | default: site.title %} {% assign description = dataToShow.META | replace:"$variable", page.value | default: page.description | default: site.description %} {% assign keywords = dataToShow.keywords %} {% assign favicon = site.favicon %} {%- assign title = title | split: ' ' -%} {%- assign newtitle = '' %} {% for operation in title %} {%- if forloop.first -%} {% assign word = operation | capitalize %} {% assign newtitle = newtitle | append : word %} {% assign newtitle = newtitle | append : " " %} {%- else -%} {% assign word = operation %} {%- if forloop.last -%} {% assign newtitle = newtitle | append : word %} {%- else -%} {% assign newtitle = newtitle | append : word %} {% assign newtitle = newtitle | append : " " %} {%- endif -%} {%- endif -%} {% endfor %} {%- assign description = description | split: ' ' -%} {% assign pagedescription = '' %} {% for operation in description %} {%- if forloop.first -%} {% assign word = operation | capitalize %} {% assign pagedescription = pagedescription | append : word %} {% assign pagedescription = pagedescription | append : " " %} {%- else -%} {% assign word = operation %} {%- if forloop.last -%} {% assign pagedescription = pagedescription | append : word %} {%- else -%} {% assign pagedescription = pagedescription | append : word %} {% assign pagedescription = pagedescription | append : " " %} {%- endif -%} {%- endif -%} {% endfor %} {%- assign title = newtitle -%} {%- assign description = pagedescription-%} {%- if page.layout == "aboutUs" -%} {{site.name}} - About us | {{title}} {% elsif page.layout == "termAndCondition" %} {{site.name}} - Terms and conditions | {{title}} {% elsif page.layout == "disclaimer" %} {{site.name}} - Disclaimer | {{title}} {% elsif page.layout == "privacyPolicy" %} {{site.name}} - Privacy policy | {{title}} {% elsif page.layout == "contactUs" %} {{site.name}} - Contact | {{title}} {% elsif page.layout == "help" %} {{site.name}} - Help | {{title}} {%- else -%} {{newtitle}} {%- endif -%} {%- if dataToShow.keywords -%} {%- endif -%} {%- if page.layout == "aboutUs" -%} {% elsif page.layout == "termAndCondition" %} {% elsif page.layout == "disclaimer" %} {% elsif page.layout == "privacyPolicy" %} {% elsif page.layout == "contactUs" %} {%- else -%} {%- endif -%} {%- if dataToShow.css -%} {%- else -%} {%- endif -%} {%- if site.monumetricId -%} {%- endif -%} {%- if page.layout == "calculator" -%} {%- endif -%} {% include adsense/adsense.html %} {%- if page.noindex -%} {%- endif -%} {%- if site.pwa -%} {%- endif -%} {%- if site.internationalization -%} {%- include alternates/alternates.html -%} {%- endif -%} {% include cssfile/links.html %} {%- if dataToShow.HOW_TO_CONTENT -%} {%- if dataToShow.HOW_TO_CONTENT.heading != '' -%} {%- endif -%} {%- endif -%} {%- if dataToShow.FAQ -%} {%- if dataToShow.FAQ.first.question !='' -%} {%- endif -%} {%- endif -%} {%- if page.tool -%} {%- include Rating/structureddata.html -%} {%- endif -%} {%- include google-analytics.html -%} {%- if site.pwa -%} {%- endif -%} {%- if site.testmode -%} {%- if page.lang == "hi" -%} {%- include monumetric/monumetric.html -%} {%- endif -%} {%- else -%} {%- include monumetric/monumetric.html -%} {%- endif -%} {%- include monumetric/ads.html -%} {%- if page.layout == "feature" or page.layout == "home" -%} {%- include monumetric/profitablecpmgate.html -%} {%- endif -%}