[PR #22] [MERGED] Fix incorrect blog link meta data #56

Closed
opened 2025-09-09 19:41:53 -05:00 by Octech6711 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/audacity/audacity.github.io/pull/22
Author: @DilsonsPickles
Created: 1/8/2024
Status: Merged
Merged: 1/9/2024
Merged by: @LWinterberg

Base: mainHead: blog-meta-data


📝 Commits (1)

  • e36730f Fix incorrect blog link meta data

📊 Changes

2 files changed (+9 additions, -5 deletions)

View changed files

📝 src/layouts/BaseLayout.astro (+8 -4)
📝 src/pages/blog/[slug].astro (+1 -1)

📄 Description

  • Added default values for title and description props in Base Layout
  • Pulled title and description data from blog post and passed into Base Layout

Expected behaviour - when sharing a link to a blog post, the link preview will show the correct title and description for that blog post.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/audacity/audacity.github.io/pull/22 **Author:** [@DilsonsPickles](https://github.com/DilsonsPickles) **Created:** 1/8/2024 **Status:** ✅ Merged **Merged:** 1/9/2024 **Merged by:** [@LWinterberg](https://github.com/LWinterberg) **Base:** `main` ← **Head:** `blog-meta-data` --- ### 📝 Commits (1) - [`e36730f`](https://github.com/audacity/audacity.github.io/commit/e36730f27025dae3e54c9819bc423936cf238519) Fix incorrect blog link meta data ### 📊 Changes **2 files changed** (+9 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/layouts/BaseLayout.astro` (+8 -4) 📝 `src/pages/blog/[slug].astro` (+1 -1) </details> ### 📄 Description - Added default values for _title_ and _description_ props in Base Layout - Pulled title and description data from blog post and passed into Base Layout Expected behaviour - when sharing a link to a blog post, the link preview will show the correct title and description for that blog post. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Octech6711 added the pull-request label 2025-09-09 19:41:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: audacity/audacity.github.io#56