Skip to content

Commit

Permalink
Remove author redundancy and add default author
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Mar 6, 2024
1 parent 7ad2c56 commit 6c293fa
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 27 deletions.
1 change: 0 additions & 1 deletion content/news/2020-08-10-introducing-bevy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Introducing Bevy 0.1"
date = 2020-08-10
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2020-08-19-scaling-bevy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Scaling Bevy"
date = 2020-08-19
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2020-09-19-bevy-0.2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.2"
date = 2020-09-19
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2020-11-03-bevy-0.3/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.3"
date = 2020-11-03
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2020-12-19-bevy-0.4/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.4"
date = 2020-12-19
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2021-04-06-bevy-0.5/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.5"
date = 2021-04-06
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2021-08-10-bevys-first-birthday/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy's First Birthday"
date = 2021-08-10
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2022-01-08-bevy-0.6/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.6"
date = 2022-01-08
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2022-04-15-bevy-0.7/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.7"
date = 2022-04-15
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2022-07-30-bevy-0.8/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.8"
date = 2022-07-30
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2022-08-10-bevys-second-birthday/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy's Second Birthday"
date = 2022-08-10
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2022-11-12-bevy-0.9/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy 0.9"
date = 2022-11-12
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
1 change: 0 additions & 1 deletion content/news/2023-01-14-scaling-bevy-development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Scaling Bevy Development"
date = 2023-01-14
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
2 changes: 0 additions & 2 deletions content/news/2023-03-06-bevy-0.10/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
+++
title = "Bevy 0.10"
date = 2023-03-06
authors = ["Bevy Contributors"]
[extra]
author = "Bevy Contributors"
image = "ruins.png"
show_image = true
image_subtitle = "Ruins scene illustrating Bevy's new material blend modes and fog. Based on original scene by Casey Hardy (CC Attribution)"
Expand Down
1 change: 0 additions & 1 deletion content/news/2023-05-17-bevy-webgpu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ authors = ["Carter Anderson"]
[extra]
image = "webgpu.svg"
show_image = true
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
2 changes: 0 additions & 2 deletions content/news/2023-07-09-bevy-0.11/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
+++
title = "Bevy 0.11"
date = 2023-07-09
authors = ["Bevy Contributors"]
[extra]
author = "Bevy Contributors"
image = "with_ssao.png"
show_image = true
+++
Expand Down
1 change: 0 additions & 1 deletion content/news/2023-08-10-bevys-third-birthday/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Bevy's Third Birthday"
date = 2023-08-10
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "Community Reflection on Bevy's Third Year"
date = 2023-09-21
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
2 changes: 0 additions & 2 deletions content/news/2023-11-04-bevy-0.12/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
+++
title = "Bevy 0.12"
date = 2023-11-04
authors = ["Bevy Contributors"]
[extra]
author = "Bevy Contributors"
image = "cover.gif"
show_image = true
image_subtitle = "A relaxing 'tiny planet' city builder by Jos Feenstra (made with Bevy)"
Expand Down
1 change: 0 additions & 1 deletion content/news/2023-12-12-sme-announcements/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title = "SME Announcements"
date = 2023-12-12
authors = ["Carter Anderson"]
[extra]
author = "Carter Anderson"
twitter = "cart_cart"
github = "cart"
youtube = "cartdev"
Expand Down
2 changes: 0 additions & 2 deletions content/news/2024-02-17-bevy-0.13/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
+++
title = "Bevy 0.13"
date = 2024-02-17
authors = ["Bevy Contributors"]
[extra]
author = "Bevy Contributors"
image = "jarl.webp"
show_image = true
image_subtitle = "Gameplay from Jarl, an in-production fantasy colony builder made with Bevy"
Expand Down
2 changes: 1 addition & 1 deletion templates/news-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% block page_content %}
<h1 class="news-title">{{ page.title }}</h1>
<h2 class="news-subtitle">
Posted on {{ page.date | date(format="%B %d, %Y") }} by {{ page.extra.author }}
Posted on {{ page.date | date(format="%B %d, %Y") }} by {% if page.authors %}{% for author in page.authors %}{{ author }}{% endfor %}{% else %}Bevy Contributors{% endif %}
{% if page.extra.twitter or page.extra.github %}
<span class="news-social-links">
(
Expand Down
2 changes: 1 addition & 1 deletion templates/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<div class="link-card__content">
<h2 class="link-card__title">{{ page.title }}</h2>
<div class="link-card__subtitle">Written {{ page.date | date(format="%B %d, %Y") }} by {{ page.extra.author }}</div>
<div class="link-card__subtitle">Written {{ page.date | date(format="%B %d, %Y") }} by {% if page.authors %}{% for author in page.authors %}{{ author }}{% endfor %}{% else %}Bevy Contributors{% endif %}</div>
<p class="link-card__description link-card__description--ellipsis">
{{ page.summary | striptags | truncate(length=350) | safe }}
</p>
Expand Down

0 comments on commit 6c293fa

Please sign in to comment.