Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/new-data/blog/page-data.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
headline: Swift latest news
headline: Latest Swift News
read-more: Read more
category_titles:
- 'Language'
Expand Down
12 changes: 10 additions & 2 deletions _layouts/new-layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@ <h1>{{ page.title }}</h1>
<div class="details">
{{ content }} {% if page.author %}
<hr />
<h2>Authors</h2>
{% include authors.html authors=page.author %} {% endif %}
{% assign authors = page.author | array %}

{% if authors.size > 1 %}
<h2>Authors</h2>
{% else %}
<h2>Author</h2>
{% endif %}

{% include authors.html authors=authors %}
{% endif %}

<hr />

Expand Down
6 changes: 6 additions & 0 deletions _posts/2024-09-17-announcing-swift-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ layout: new-layouts/post
published: true
date: 2024-09-17 10:00:00
title: Announcing Swift 6
featured-image:
url: '/assets/images/6.2-blog/[email protected]'
alt: 'Featured blog image with the Swift Logo over a white to orange gradient background.'
featured-image-dark:
url: '/assets/images/6.2-blog/[email protected]'
alt: 'Featured blog image with the Swift Logo over a white to black gradient background.'
author: [hborla]
category: "Language"
---
Expand Down
6 changes: 6 additions & 0 deletions _posts/2025-06-04-redesigned-swift-org-is-now-live.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ layout: new-layouts/post
published: true
date: 2025-06-04 10:00:00
title: "Redesigned Swift.org is now live"
featured-image:
url: '/assets/images/swift-redesign-blog/swift-redesign-blog.png'
alt: 'Screenshot of the redesigned website.'
featured-image-dark:
url: '/assets/images/swift-redesign-blog/[email protected]'
alt: 'Screenshot of the redesigned website.'
image: "swift-redesign-blog.png"
author: [shahmishal]
category: 'Community'
Expand Down
1 change: 0 additions & 1 deletion assets/stylesheets/new-stylesheets/pages/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
}

.details {
width: 90%;
margin: 1.2em auto;
color: var(--color-syntax-plain-text);

Expand Down