Skip to content

Commit e11e4b9

Browse files
committed
fix: inverted pagetitle and site.title
1 parent 291a987 commit e11e4b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_includes/git-wiki/defines/defines.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% assign version = "2.7.10" %}
1+
{% assign version = "2.7.11" %}
22
{% capture lchar %}{{page.url | slice: -1, 1}}{% endcapture %}
33
{% capture url %}
44
{% if lchar == "/" %}{{page.url}}index.html{% else %}{{ page.url | default: 'index.html' }}{% endif%}

_includes/git-wiki/sections/head/meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% seo %}
1010

1111
{% assign pagetitle = page.name | replace: ".md", "" %}
12-
{% assign title = site.title | append: " - " | append: pagetitle | strip_html %}
12+
{% assign title = pagetitle | append: " - " | append: site.title | strip_html %}
1313

1414
<title>{{ title | strip_html | strip_newlines | truncate: 160 }}</title>
1515

0 commit comments

Comments
 (0)