Skip to content

Commit

Permalink
fix: inverted pagetitle and site.title
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Nov 16, 2021
1 parent 291a987 commit e11e4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/git-wiki/defines/defines.html
Original file line number Diff line number Diff line change
@@ -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%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/git-wiki/sections/head/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>{{ title | strip_html | strip_newlines | truncate: 160 }}</title>

Expand Down

0 comments on commit e11e4b9

Please sign in to comment.