Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8bc554a

Browse files
committedFeb 12, 2024
Apply page-wide to getting started, 404, 500
1 parent aab53d5 commit 8bc554a

File tree

9 files changed

+12
-21
lines changed

9 files changed

+12
-21
lines changed
 

‎404.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
layout: default
2+
layout: page-wide
33
title: "Not Found"
44
permalink: /404.html
55
---
66

7-
# Not Found
8-
97
The page you’re looking for can’t be found.
108

‎500.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2-
layout: default
2+
layout: page-wide
33
title: "Internal Server Error"
44
permalink: /500.html
55
---
66

7-
# Internal Server Error
8-
97
The server encountered an error and was unable to complete your request.

‎_layouts/page.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
---
22
layout: default
33
---
4+
45
<article class="page">
5-
<header>
6-
<h1>{{ page.title }}</h1>
7-
</header>
6+
{% if page.title %}
7+
<header>
8+
<h1>{{ page.title }}</h1>
9+
</header>
10+
{% endif %}
811
{{ content }}
912
</article>

‎getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: page
2+
layout: page-wide
33
title: Getting Started
44
---
55

‎index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ atom: true
5252
</ul>
5353
</div>
5454

55-
## Use Cases
55+
## Use Cases
5656

5757
<ul class="use-cases">
5858
<li>
@@ -87,7 +87,7 @@ atom: true
8787
</li>
8888
</ul>
8989

90-
## Getting Involved
90+
## Getting Involved
9191

9292
Everyone is welcome to contribute to Swift. Contributing doesn’t just mean writing code or submitting pull request — there are many different ways for you to get involved, including answering questions on the forums, reporting or triaging bugs, and participating in the Swift evolution process.
9393

@@ -117,7 +117,7 @@ atom: true
117117
</li>
118118
</ul>
119119

120-
## What's New
120+
## What's New
121121

122122
Stay up-to-date with the latest in the Swift community.
123123

‎install/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ layout: page
33
title: Install Swift
44
---
55

6-
# Install Swift
7-
86
Follow the instructions below to install the latest version of Swift on a [supported platform](/platform-support).
97

108
You can also [download nightly snapshots and older releases](/download).

‎install/linux/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ layout: page
33
title: Linux Installation Options
44
---
55

6-
# Linux Installation Options
7-
86
{% include_relative _docker.md %}
97
{% include_relative _tarball.md %}
108
{% include_relative _rpms.md %}

‎install/macos/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ layout: page
33
title: macOS Installation Options
44
---
55

6-
# macOS Installation Options
7-
86
## Installation via Xcode
97

108
Download the [current version of Xcode](https://itunes.apple.com/app/xcode/id497799835) which contains the latest Swift release.

‎install/windows/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ layout: page
33
title: Windows Installation Options
44
---
55

6-
# Windows Installation Options
7-
86
## Dependencies
97

108
Swift has the following general dependencies:

0 commit comments

Comments
 (0)
Please sign in to comment.