{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url | uri_escape -%} {%- assign home_url = "index.html" | absolute_url | replace: "index.html", "" | uri_escape -%} {%- assign metatitle1 = page.title | default: site.title | default: site.github.repository_name | strip_html -%} {%- assign metatitle2 = site.title | default: site.github.repository_name | strip_html -%} {%- assign strippedurl = page.url | replace: "index.html", "" -%} {%- if strippedurl == "/" -%} {%- assign metatitle1 = site.title | default: site.github.repository_name -%} {%- assign metatitle2 = site.subtitle | default: site.github.project_tagline -%} {%- endif -%} {%- capture metatitle -%}{{ metatitle1 | strip_html }} {{ site.title_separator | default: "|" }} {{ metatitle2 | strip_html }}{%- endcapture -%} {%- assign mainname = site.title | default: site.github.repository_name -%} {%- assign mainsub = site.subtitle | default: site.github.project_tagline -%} {%- capture sitename -%}{{ mainname | strip_html }} {{ site.title_separator | default: "|" }} {{ mainsub | strip_html }}{%- endcapture -%} {%- assign ogimage = page.og_image | default: page.header_img | default: site.og_image | default: site.author.avatar | default: site.github.owner_gravatar_url | absolute_url -%} {%- assign descfallback = page.content | markdownify | newline_to_br | replace:"
", ",.," | replace:"{{", ",.," | replace:"{%", ",.," | split: ",.," | first -%} {%- assign ogdesc = page.excerpt | default: descfallback | strip_html | escape_once -%} {%- if page.subtitle -%} {%- assign ogdesc = page.subtitle | append: " - " | append: ogdesc | strip_html | escape_once -%} {%- endif -%} {%- assign links = page.author.links | default: site.author.links -%} {%- for item in links -%} {%- if item.url contains "twitter.com/" -%} {%- assign twitterauthor = item.url | split: "/" | last -%} {%- break -%} {%- endif -%} {%- endfor %} {%- assign authorlink = links | where_exp: "item", "item.url contains 'http'" %} {% if page.breadcrumb_list %} {% else %} {% endif %} {%- assign sitelink = site.author.links | where_exp: "item", "item.url contains 'http'" -%} {% if page.author %} {%- assign pagelink = page.author.links | where_exp: "item", "item.url contains 'http'" -%} {% endif %} {{ metatitle | strip_html }} {%- assign: keyword = site.github.public_repositories | where_exp:"item", "item.name == site.github.repository_name " | map: "topics" -%} {% if keyword -%} {%- endif %} {% if site.chulapa-skin.vars.primary -%} {%- endif %} {%- if site.twitter_site %} {% endif -%} {%- if twitterauthor %} {% endif -%} {%- include custom/custom_head_before_css.html -%} {% if site.comments.provider == 'cactus' -%} {%- endif %} {% for font in site.googlefonts -%} {% if font.url -%} {%- endif %} {%- endfor %} {% assign fakit = site.fa5_kit_code | default: fa_kit_code %} {% if fakit -%} {%- else -%} {%- endif %} {% if site.fa_v4_support -%} {%- endif %} {%- if page.show_applause %} {% endif -%} {% if page.mathjax -%} {%- endif %} {%- if site.gtag_id %} {% endif -%} {%- if site.analytics_id %} {% endif -%} {%- include custom/custom_head.html -%}