Skip to content

Commit

Permalink
add basic author implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
FoggyMtnDrifter committed Apr 8, 2024
1 parent bf21a1a commit f631e6b
Show file tree
Hide file tree
Showing 31 changed files with 35 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/[locale]/news/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type Props = {
export type PostData = {
title: string;
date: string;
author?: string;
contentHtml: string;
};

Expand Down Expand Up @@ -49,9 +50,12 @@ export default async function Post({ params }: Props) {
<p className="text-base font-semibold leading-7 text-primary text-center uppercase font-display">
<Date dateString={postData.date} />
</p>
<h1 className="mt-2 text-3xl font-bold tracking-tight sm:text-4xl mb-12 text-center font-display">
<h1 className="mt-2 text-3xl font-bold tracking-tight sm:text-4xl mb-2 text-center font-display">
{postData.title}
</h1>
<p className="text-base leading-7 text-center mb-12 italic">
{postData.author ? postData.author : "Rocky Linux Team"}
</p>
<div
className="prose dark:prose-invert prose-headings:font-display prose-a:text-primary prose-pre:bg-muted prose-pre:py-3 prose-pre:px-4 prose-pre:rounded prose-img:rounded-md max-w-none mb-12"
dangerouslySetInnerHTML={{ __html: postData.contentHtml }}
Expand Down
1 change: 1 addition & 0 deletions news/12-days-rockmas.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: 12 Days of Rockmas
date: "2023-11-27"
author: "Krista Burdine, Community Team Lead"
---

Hey, it’s almost Rocky Linux's third birthday! We will celebrate by counting down the next 12 days with games, giveaways, and gatherings to appreciate our community. And YOU are invited to join us.
Expand Down
1 change: 1 addition & 0 deletions news/2023-07-RESF-names-new-board-member.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "RESF Names Theodore Ts'o to Board"
date: "2023-07-03"
author: "Rocky Enterprise Software Foundation Board"
---

Theodore Ts’o has joined the Rocky Enterprise Software Foundation’s Board of Directors.
Expand Down
1 change: 1 addition & 0 deletions news/community-update-2023-april.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Fresh Air - April 2023 Newsletter
date: "2023-04-14"
author: "Krista Burdine, Community Team Lead"
---

## Volunteer Appreciation
Expand Down
1 change: 1 addition & 0 deletions news/community-update-april-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - April 2021
date: "2021-04-26"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-december-2020.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - December 2020
date: "2020-12-23"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-december-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - December 2021 - Q4
date: "2021-12-10"
author: "Rocky Enterprise Software Foundation"
---

## Highlights
Expand Down
1 change: 1 addition & 0 deletions news/community-update-february-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - February 2021
date: "2021-02-22"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-january-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - January 2021
date: "2021-01-20"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-june-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - June 2021
date: "2021-06-28"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-march-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - March 2021
date: "2021-03-31"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/community-update-may-2021.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Community Update - May 2021
date: "2021-05-28"
author: "Rocky Enterprise Software Foundation"
---

## Summary
Expand Down
1 change: 1 addition & 0 deletions news/event-20211211-anniversary.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 1 Year Anniversary Party 🥳
date: "2021-11-25"
author: "Brian Clemens, Project Manager"
---

It's hard to believe it's already been a year since the Rocky Linux project began! We're hosting an informal online party to mark the occasion. Come celebrate with us!
Expand Down
1 change: 1 addition & 0 deletions news/happy-birthday-rocky.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Happy Birthday Rocky Linux
date: "2023-12-08"
author: "Krista Burdine, Community Team Lead"
---

## Reflections on Three Years of Growth
Expand Down
1 change: 1 addition & 0 deletions news/resf-charter-2022-11-11.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Enterprise Software Foundation (RESF) Approves New Bylaws and Charter Designed to Ensure Open Community Control of Rocky Linux and Future RESF Projects
date: "2022-11-11"
author: "Rocky Enterprise Software Foundation"
---

The Rocky Enterprise Software Foundation (RESF) today published its charter and bylaws, documenting the organization’s governing structure and rules for hosting open source projects, including its namesake project, [Rocky Linux](https://rockylinux.org/). The charter and bylaws also describe the RESF vision to create and nurture a community of individuals and organizations that are committed to ensuring the longevity, stewardship and innovation of enterprise-grade open source software that is always freely available.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-3-rc1-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.3 RC1 Available Now
date: "2021-04-30"
author: "Release Engineering Team"
---

The Rocky Enterprise Software Foundation (RESF) is pleased to announce the general availability of the Rocky Linux 8.3 Release Candidate 1 for x86_64 and aarch64 architectures.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-4-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.4 GA Available Now
date: "2021-06-21"
author: "Release Engineering Team"
---

The Rocky Enterprise Software Foundation (RESF) is pleased to announce the General Availability of Rocky Linux 8.4 for the following architectures:
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-4-rc1-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.4 RC1 Available Now
date: "2021-06-04"
author: "Release Engineering Team"
---

The Rocky Enterprise Software Foundation (RESF) is pleased to announce the availability of the Rocky Linux 8.4 Release Candidate for:
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-5-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.5 Available Now
date: "2021-11-15"
author: "Release Engineering Team"
---

Hello everyone. I am pleased to announce the general availability of Rocky Linux 8.5. This release is for the x86_64 and aarch64 architectures and is derived from Red Hat Enterprise Linux 8.5.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-6-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.6 Available Now
date: "2022-05-16"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 8.6. This
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-7-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.7 Available Now
date: "2022-11-14"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 8.7. This release is currently available for the x86-64 and AArch64 architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/8_7) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-8-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.8 Available Now
date: "2023-05-20"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 8.8. This release is currently available for the x86-64 and aarch64 architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/8_8) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-8-9-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 8.9 Available Now
date: "2023-11-22"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 8.9. This release is currently available for the x86-64 and aarch64 architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/8_9) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-0-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 9.0 Available Now
date: "2022-07-14"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 9.0. Release notes are available in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/9_0/) - these notes contain important information including known bugs and comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-1-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 9.1 Available Now
date: "2022-11-26"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 9.1. This release is currently available for the x86-64, aarch64, ppc64le, and s390x architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/9_1) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-2-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 9.2 Available Now
date: "2023-05-16"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 9.2. This release is currently available for the x86-64, aarch64, and s390x architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/9_2) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-2-power-le-update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 9.2 for PowerPC (ppc64le) is now available
date: "2023-05-30"
author: "Release Engineering Team"
---

After additional testing and thorough investigation into the
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-3-ga-release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Rocky Linux 9.3 Available Now
date: "2023-11-20"
author: "Release Engineering Team"
---

We are pleased to announce the general availability of Rocky Linux 9.3. This release is currently available for the x86-64, aarch64, ppc64le, and s390x architectures. Please review the release notes in the [Rocky Linux Documentation](https://docs.rockylinux.org/release_notes/9_3) - These notes contain important information including known bugs and more comprehensive details about changes in this version.
Expand Down
1 change: 1 addition & 0 deletions news/rocky-linux-9-errata.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Errata for Rocky Linux 9 Available Now
date: "2023-02-06"
author: "Peridot Team"
---

We are delighted to announce the release of Errata for Rocky Linux 9!
Expand Down
1 change: 1 addition & 0 deletions news/secureboot-certificate-refresh-2024.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Secure Boot Key Refresh - 2024
date: "2024-04-05"
author: "Neil Hanlon, Infrastructure Lead"
---

![Rocky Linux Secure Boot Update](/images/news/2024-04-05-secureboot-refresh-header.png)
Expand Down
1 change: 1 addition & 0 deletions news/security-sig-update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Special Interest Group Announcement - Security"
date: "2023-10-04"
author: "Security Special Interest Group"
---

# Special Interest Group Announcement - Security
Expand Down

0 comments on commit f631e6b

Please sign in to comment.