{% if page.layout == 'post' and page.commentshortlink.length != 0 %} {% endif %} {% if page.layout == 'home' or page.layout == 'post' %} {% if site.google_analytics.pv.proxy_endpoint %} {% endif %} {% if site.google_analytics.pv.cache_path %} {% endif %} {% endif %} {% capture seo_tags %} {% seo title=false %} {% endcapture %} {% if site.img_cdn and seo_tags contains 'og:image' %} {% assign properties = 'og:image,twitter:image' | split: ',' %} {% for prop in properties %} {% if site.img_cdn contains '//' %} {% capture target %} {% include favicons.html %} {% if site.resources.ignore_env != jekyll.environment and site.resources.self_hosted %} {% else %} {% for cdn in site.data.assets[origin].cdns %} {% endfor %} {% endif %} {% if jekyll.environment == 'production' and site.google_analytics.id != empty and site.google_analytics.id %} {% if site.google_analytics.pv.proxy_endpoint %} {% assign proxy_url = site.google_analytics.pv.proxy_endpoint | replace: "https://", "" | split: "/" | first | prepend: "https://" %} {% endif %} {% endif %} {% if site.toc and page.toc %} {% endif %} {% if page.layout == 'page' or page.layout == 'post' %} {% endif %} {% unless site.theme_mode %} {% include mode-toggle.html %} {% endunless %}