{% assign cache_bust = site.time|date:'?v=%s' %} {% assign desc = description | default: site.description | strip_html | strip_newlines | truncate: 160 -%} {% unless desc and desc != '' -%} {% assign error = page.url | append: ' must have a description specified!' -%} {{ error | throwError }} {% endunless %} {% if short-title %}{{short-title}}{% else %}{{title}}{% endif %} | {{site.title}} {% if canonical -%} {% endif -%} {% if noindex -%} {% endif -%} {% assign og_image_path = page.og_image | default: '/assets/img/logo/dart-logo-for-shares.png' -%} {% assign og_type = page.og_type -%} {% comment %} Add page URL to page relative paths {% endcomment -%} {% assign og_image_start = og_image_path | slice: 0 -%} {% unless og_image_start == '/' %}{% capture og_image_path %}{{page.url}}/{{og_image_path}}{% endcapture %}{% endunless -%} {% if og_type -%} {% endif -%} {% if css -%} {% for cssFile in css -%} {% endfor -%} {% endif -%} {% if js -%} {% for jsFile in js -%} {% endfor -%} {% endif -%} {% render 'analytics.html' -%}