Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Commit 70f7f9a

Browse files
committed
Fix meta tag titles
1 parent 04115cf commit 70f7f9a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ twitter_username: SwiftDocOrg
99
github_username: SwiftDocOrg
1010
swift_version: "Swift version 4.2 & previous"
1111

12-
include: [ "_[A-Z]*", "__[A-Z]*", "_redirects" ]
12+
include: [ "_[A-Z]*", "__[A-Z]*", "_redirects", ".well-known" ]
1313
exclude: [ "README.md", "LICENSE", "CC-BY-NC-LICENSE.md", "Gemfile", "Gemfile.lock", "Procfile" ]
1414
keep_files: [ ".nojekyll", ".git", "CNAME", "README.md" ]
1515

_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
{% if page.title == "Home" %}
7+
{% if page.url == "/" %}
88
<title>{{ site.title }} &#8212; {{ site.description }}</title>
99
{% else %}
1010
<title>{% if page.title %}{{ page.title | strip_html }} &#8212; {% endif %}{{ site.title }}</title>

index.html

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
layout: "home"
3-
title: "Home"
4-
root: "/v4.2"
2+
layout: home
3+
root: /v4.2
54
---
65

76
<div class="container-fluid home-block">
87
<div class="container">
98
<div class="row">
109
<div class="col-sm-12">
11-
10+
1211
<article class="content">
1312
<h2>Types</h2>
1413

@@ -202,7 +201,7 @@ <h2>Types</h2>
202201
<div class="container">
203202
<div class="row">
204203
<div class="col-sm-12">
205-
204+
206205
<article class="content">
207206
<h2>Protocols</h2>
208207

@@ -290,7 +289,7 @@ <h2>Protocols</h2>
290289
<div class="container">
291290
<div class="row">
292291
<div class="col-sm-12">
293-
292+
294293
<article class="content">
295294
<h2>Operators</h2>
296295

@@ -379,7 +378,7 @@ <h2>Operators</h2>
379378
<div class="container">
380379
<div class="row">
381380
<div class="col-sm-12">
382-
381+
383382
<article class="content">
384383
<h2>Globals</h2>
385384

0 commit comments

Comments
 (0)