From e11e4b905538e63f7ae01180b1670b8e6ec5abb9 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Tue, 16 Nov 2021 11:27:52 +0100 Subject: [PATCH] fix: inverted pagetitle and site.title --- _includes/git-wiki/defines/defines.html | 2 +- _includes/git-wiki/sections/head/meta.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/git-wiki/defines/defines.html b/_includes/git-wiki/defines/defines.html index 4253287f..5181d05e 100644 --- a/_includes/git-wiki/defines/defines.html +++ b/_includes/git-wiki/defines/defines.html @@ -1,4 +1,4 @@ -{% assign version = "2.7.10" %} +{% assign version = "2.7.11" %} {% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %} {% capture url %} {% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%} diff --git a/_includes/git-wiki/sections/head/meta.html b/_includes/git-wiki/sections/head/meta.html index 05691138..e29c4041 100644 --- a/_includes/git-wiki/sections/head/meta.html +++ b/_includes/git-wiki/sections/head/meta.html @@ -9,7 +9,7 @@ {% seo %} {% assign pagetitle = page.name | replace: ".md", "" %} -{% assign title = site.title | append: " - " | append: pagetitle | strip_html %} +{% assign title = pagetitle | append: " - " | append: site.title | strip_html %} {{ title | strip_html | strip_newlines | truncate: 160 }}