File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
6
< meta http-equiv ="Content-Type " content ="{{ site.title }}; charset=utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
- < title > {{ page.title }} | {{ site.title }}</ title >
8
+
9
+ {% if page.title == 'Home' %}
10
+ < title > {{ site.title }}</ title >
11
+ {% else %}
12
+ < title > {{ page.title }} | {{ site.title }}</ title >
13
+ {% endif %}
14
+ < title > {{ page.title }} {% if page.url != "/index.html" %} | {% endif %} {{ site.title }}</ title >
9
15
< meta name ="description " content ="{{ site.data.strings.description }} ">
10
16
< meta name ="author " content ="{{ site.author }} ">
11
17
< meta name ="keywords " content ="{{ site.data.strings.keywords }} "/>
12
18
< link rel ="canonical " href ="{{ site.url }}{{ page.url | replace:'index.html',''}} ">
13
19
14
20
<!-- OG META -->
15
21
< meta property ="og:type " content ="website " />
16
- < meta property ="og:title " content ="{{ page.title }} | {{ site.title }} " />
22
+ {% if page.title == 'Home' %}
23
+ < meta property ="og:title " content ="{{ site.title }} " />
24
+ {% else %}
25
+ < meta property ="og:title " content ="{{ page.title }} | {{ site.title }} " />
26
+ {% endif %}
17
27
< meta property ="og:description " content ="{{ site.description }} "/>
18
28
< meta property ="og:url " content ="{{ site.url }}{{ page.url | replace:'index.html',''}} " />
19
29
< meta property ="og:locale " content ="pl_PL " />
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: home
3
- title: Strona główna
3
+ title: Home
4
4
---
5
5
6
6
You can’t perform that action at this time.
0 commit comments