Skip to content

Commit 88d80b9

Browse files
committed
feat(): Add more work on blog redesign.
1 parent 106076b commit 88d80b9

File tree

149 files changed

+311
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+311
-114
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
assets/javascripts/new-javascripts/vendor/
2+
/posts

_data/new-data/blog/page-data.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
headline: Swift latest news
22
read-more: Read more
33
category_titles:
4-
- 'Ecosystem spotlight'
54
- 'Language'
5+
- 'Developer Tools'
6+
- 'Adopters'
67
- 'Community'
7-
- 'Swift digest'
8-
- 'Adopter sportlight'
8+
- 'Digest'

_layouts/new-layouts/base.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,22 @@
181181
<script src="/assets/javascripts/new-javascripts/application.js"></script>
182182
{% if page.url == "/" %}
183183
<script src="/assets/javascripts/new-javascripts/landing.js"></script>
184+
{% endif %} {% if page.url == "/blog/" %}
185+
<script src="/assets/javascripts/new-javascripts/blog.js"></script>
184186
{% endif %}
185-
<!-- metrics -->
187+
<!-- metrics -->
186188
<script>
187-
/* RSID: */
188-
var s_account="awdswiftorg"
189+
/* RSID: */
190+
var s_account = 'awdswiftorg'
189191
</script>
190192
{% if jekyll.environment != 'development' %}
191193
<script src="https://developer.apple.com/assets/metrics/scripts/analytics.js"></script>
192194
<script>
193-
s.pageName= AC && AC.Tracking && AC.Tracking.pageName();
195+
s.pageName = AC && AC.Tracking && AC.Tracking.pageName()
194196

195-
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
196-
var s_code=s.t();if(s_code)document.write(s_code)
197+
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
198+
var s_code = s.t()
199+
if (s_code) document.write(s_code)
197200
</script>
198201
{% endif %}
199202
<!-- /metrics -->

_posts/2015-12-03-swift-3-api-design.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: post
33
published: true
44
date: 2015-12-03 12:01:01
55
title: Swift 3 API Design Guidelines
6+
category: "Language"
67
---
78

89
The design of commonly-used libraries has a large impact on the

_posts/2015-12-03-swift-linux-port.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: post
33
published: true
44
date: 2015-12-03 11:01:01
55
title: The Swift Linux Port
6+
category: 'Developer Tools'
67
---
78

89
With the launch of the open source Swift project, we are also releasing
@@ -14,60 +15,60 @@ architecture on Linux.
1415

1516
Here are a few highlights of what's working in the port today:
1617

17-
* **Swift without the Objective-C Runtime**: Swift on Linux does not
18+
- **Swift without the Objective-C Runtime**: Swift on Linux does not
1819
depend on the Objective-C runtime nor includes it. While Swift was
1920
designed to interoperate closely with Objective-C when it is present,
2021
it was also designed to work in environments where the Objective-C
2122
runtime does not exist.
2223

23-
* **The core Swift Language and [Standard Library]** on Linux shares most of
24+
- **The core Swift Language and [Standard Library]** on Linux shares most of
2425
the same implementation and APIs as on Apple platforms. There are some
2526
slight differences of behavior because of the absence of the
2627
Objective-C runtime on Linux (noted below).
2728

28-
* **The Glibc Module**: Most of the Linux C standard library is available
29+
- **The Glibc Module**: Most of the Linux C standard library is available
2930
through this module similar to the Darwin module on Apple platforms.
3031
Some headers aren't yet imported into the module, such as tgmath.h.
3132

3233
To try it out, just `import Glibc`.
3334

34-
* **Swift Core Libraries**: The [Core Libraries] provide implementations
35+
- **Swift Core Libraries**: The [Core Libraries] provide implementations
3536
of core APIs from Foundation and XCTest to be used on Linux without
3637
Objective-C . The intention is that these APIs are available in a
3738
cross-platform manner regardless of whether you are using Swift on
3839
Apple's platforms or Swift on Linux.
3940

40-
* **LLDB Swift debugging and the REPL**: You can [debug your Swift
41+
- **LLDB Swift debugging and the REPL**: You can [debug your Swift
4142
binaries] and [experiment in the REPL] just like you do on macOS.
4243

43-
* **The Swift Package Manager** is a first class citizen as it is on
44+
- **The Swift Package Manager** is a first class citizen as it is on
4445
Apple's platforms.
4546

4647
Here are some things that aren't quite working yet or are planned for
4748
the future:
4849

49-
* **libdispatch**: Part of the Core Libraries, updated Linux support is
50+
- **libdispatch**: Part of the Core Libraries, updated Linux support is
5051
in progress. You can follow development on the [libdispatch project on
5152
GitHub].
5253

53-
* **Some C APIs**: Although this is generally true for all of our
54+
- **Some C APIs**: Although this is generally true for all of our
5455
supported platforms, a few constructs in C aren't imported yet into
5556
Swift. This will cause some APIs to be unavailable, such as those that
5657
contain varargs / `va_list`. However, in recent months Swift's
5758
interoperability with C has significantly advanced, gaining support
5859
for named and anonymous unions, anonymous structs, and bitfields.
5960

60-
* **Some `String` APIs**: The Standard Library's `String` is missing implementations
61+
- **Some `String` APIs**: The Standard Library's `String` is missing implementations
6162
of several important APIs because they are currently tied to the
6263
implementation of `NSString` on Apple's platforms.
6364

64-
* **Runtime Introspection**: When a Swift class on Apple's platforms is
65+
- **Runtime Introspection**: When a Swift class on Apple's platforms is
6566
marked `@objc` or subclasses `NSObject` you can use the Objective-C
6667
runtime to enumerate available methods on an object or call methods
6768
using selectors. Such capabilities are absent because they depend on
6869
the Objective-C runtime.
6970

70-
* `Array<T> as? Array<S>`: Some mechanisms, such as casting
71+
- `Array<T> as? Array<S>`: Some mechanisms, such as casting
7172
containers with different associated types, currently do not work as
7273
they relied on bridging mechanisms with Objective-C.
7374

_posts/2015-12-03-welcome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: post
33
date: 2015-12-03 10:01:01
44
published: true
55
title: The Swift.org Blog
6+
category: "Community"
67
---
78

89
Welcome to the blog on Swift.org! Today we launched the open source Swift project along with the Swift.org website. We couldn't be more excited to work together in an open community to find and fix issues, add enhancements, and bring Swift to new platforms.

_posts/2016-01-29-swift-api-transformation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ published: true
44
date: 2016-1-29
55
title: "It's Coming: the Great Swift API Transformation"
66
author: dabrahams
7+
category: "Language"
78
---
89

910
Cocoa, the Swift standard library, maybe even your own types and

_posts/2016-02-01-swift-CI.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ published: true
44
date: 2016-02-01 18:00:00
55
title: Continuous Integration now Available
66
author: najacque
7+
category: "Community"
78
---
89

910
We are excited to announce that we have rolled out [continuous integration](/documentation/continuous-integration) (aka, CI) for the Swift project!

_posts/2016-02-08-swift-benchmark-suite.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ published: true
44
date: 2016-02-08 18:00:00
55
title: Swift Benchmark Suite now Available
66
author: lplarson
7+
category: "Developer Tools"
78
---
89

910
Apple's Swift Team is happy to announce that Swift's [benchmark

_posts/2016-02-29-swift-commit-access.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ published: true
44
date: 2016-02-29 8:00:00
55
title: Expanding Commit Access
66
author: ematejska
7+
category: "Community"
78
---
89

910
Now that the Swift Continuous Integration system is established and proven, we’d like to grant commit access on a more frequent basis to project contributors who have established a track record of good contributions. If you would like commit access, please send an email to [the code owners list](mailto:[email protected]) with a list of 5 non-trivial pull requests that we accepted without modifications.

0 commit comments

Comments
 (0)