{% 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 -%} {%- if page.layout == "home-1" -%} {%- endif -%} {%- if page.layout == "feature-1" or page.newBox or page.layout == "feature-download" -%} {%- endif -%} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%} {%- endif -%} {%- if page.layout == "contenttool-home" -%} {%- endif -%} {%- if page.layout != 'contenttool-home' -%} {%- endif -%} {%- if page.layout == "appscms-calculator" -%} {%- endif -%} {%- if page.layout == "appscms-home" -%} {%- endif -%} {%- if page.layout == "appscms-feature" or page.layout == "contenttool-feature" -%} {%- endif -%} {%- if page.layout == "appscms-video" -%} {%- endif -%} {%- if page.layout == "appscms-audio" -%} {%- endif -%} {%- if page.layout == "devtools" -%} {%- endif -%} {%- if page.layout == "devtool-home" or page.layout == "devtool-feature" or page.layout == "devtools" or page.layout == "devtool-about" -%} {%- endif -%} {%- if page.layout == 'appscms-imagekit' -%} {%- endif -%} {% include adsense/adsense.html %} {%- if page.noindex -%} {%- endif -%} {% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %} {% assign noindex_languages = site.data.noindexURLs.noindex_languages %} {% if noindex_languages contains page.lang %} {% unless whitelist_urls contains page.url %} {% endunless %} {% endif %} {% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %} {% if blacklist_urls contains page.url %} {% endif %} {%- if site.pwa -%} {%- endif -%} {%- if site.internationalization or site.internationalizationall -%} {%- include alternates/alternates.html -%} {%- endif -%} {% include cssfile/links.html %} {%- if dataToShow.HOW_TO_CONTENT -%} {%- if dataToShow.HOW_TO_CONTENT.heading != '' -%} {%- assign HOW_TO_CONTENT = dataToShow.HOW_TO_CONTENT -%} {%- endif -%} {%- endif -%} {%- if dataToShow.infographics.size > 0 -%} {%- assign infographics = dataToShow.infographics -%} {%- endif -%} {%- if dataToShow.author -%} {%- include authors/authors.html -%} {%- assign featureAuthor = dataToShow.author | split: " " -%} {%- assign author = featureAuthor.first | downcase -%} {%- assign collection = [author] -%} {%- for item in collection -%} {%- if forloop.index==1 -%} {%- assign featureAuthorName = item -%} {%- endif -%} {%- if forloop.index==2 -%} {%- assign featureAuthorImage = item -%} {%- endif -%} {%- if forloop.index==3 -%} {%- assign featureAuthorBio = item -%} {%- endif -%} {%- if forloop.index==4 -%} {%- assign featureAuthorTwitter = item -%} {%- endif -%} {%- endfor -%} {%- endif -%} {%- if dataToShow.contributors.size > 0 -%} {%- endif -%} {%- if dataToShow.FAQ.size>0 -%} {%- if dataToShow.FAQ.first.question != '' -%} {%- endif -%} {%- endif -%} {%- if page.tool -%} {%- include Rating/structureddata.html -%} {%- endif -%} {%- 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 -%}