From cfc516fdd7fc0395072f7dafb21d856840175a32 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 31 Jul 2023 20:14:52 +0100 Subject: [PATCH] remove unused include --- _includes/seo.html | 139 --------------------------------------------- 1 file changed, 139 deletions(-) delete mode 100644 _includes/seo.html diff --git a/_includes/seo.html b/_includes/seo.html deleted file mode 100644 index a43115b..0000000 --- a/_includes/seo.html +++ /dev/null @@ -1,139 +0,0 @@ -{% include base_path %} - - -{% if site.url %} - {% assign seo_url = site.url | append: site.baseurl %} -{% endif %} -{% assign seo_url = seo_url | default: site.github.url %} - -{% if page.title %} - {% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %} -{% endif %} - -{% if seo_title %} - {% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %} -{% endif %} - -{% if site.url %} - {% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %} -{% endif %} - -{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %} - -{% assign seo_description = page.description | default: page.excerpt | default: site.description %} -{% if seo_description %} - {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %} -{% endif %} - -{% assign seo_author = page.author | default: page.author[0] | default: site.author[0] %} -{% if seo_author %} - {% if seo_author.twitter %} - {% assign seo_author_twitter = seo_author.twitter %} - {% else %} - {% if site.data.authors and site.data.authors[seo_author] %} - {% assign seo_author_twitter = site.data.authors[seo_author].twitter %} - {% else %} - {% assign seo_author_twitter = seo_author %} - {% endif %} - {% endif %} - {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %} -{% endif %} - - - - - -{% if seo_url %} - - -{% endif %} - -{% if page.excerpt %} - -{% endif %} - -{% if site.twitter.username %} - - - - - - {% if page.header.image %} - - - {% else %} - - {% if site.og_image %} - - {% endif %} - {% endif %} - - {% if seo_author_twitter %} - - {% endif %} -{% endif %} - -{% if site.facebook %} - {% if site.facebook.publisher %} - - {% endif %} - - {% if site.facebook.app_id %} - - {% endif %} -{% endif %} - -{% if page.header.image %} - -{% elsif page.header.overlay_image %} - -{% endif %} - -{% if page.date %} - - -{% endif %} - -{% if paginator.previous_page %} - -{% endif %} -{% if paginator.next_page %} - -{% endif %} - -{% if site.og_image %} - -{% endif %} - -{% if site.social %} - -{% endif %} - -{% if site.google_site_verification %} - -{% endif %} -{% if site.bing_site_verification %} - -{% endif %} -{% if site.alexa_site_verification %} - -{% endif %} -{% if site.yandex_site_verification %} - -{% endif %} -