[PR #3570] [MERGED] Update metadata inside layout.tsx for better SEO #4411

Closed
opened 2026-02-26 14:30:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/3570
Author: @BramSuurdje
Created: 4/1/2025
Status: Merged
Merged: 4/1/2025
Merged by: @michelroegl-brunner

Base: mainHead: BramSuurdje-patch-1


📝 Commits (2)

  • 61b34a3 Update metadata inside layout.tsx for better SEO
  • b3d24f4 Enhance metadata typing in layout.tsx for improved TypeScript support and SEO. Update canonical link to handle potential undefined href.

📊 Changes

1 file changed (+57 additions, -12 deletions)

View changed files

📝 frontend/src/app/layout.tsx (+57 -12)

📄 Description

✍️ Description

This pull request makes significant updates to the metadata configuration in the layout.tsx file of the frontend/src/app directory. The changes enhance the website's metadata to provide more detailed information and improve its SEO and social media integration.

Key changes include:

Metadata Enhancements:

  • Added a detailed description for the website, highlighting the availability of over 300+ scripts.
  • Expanded the keywords list to include additional relevant terms such as "virtualization," "containers," "LXC," and "VM."
  • Updated the authors field to include multiple authors with their respective URLs.
  • Introduced new metadata fields such as licence, publisher, metadataBase, alternates, icons, viewport, and manifest.

Social Media Integration:

  • Added openGraph metadata, including siteName, image dimensions, and alt text for better social media sharing.
  • Introduced twitter metadata to enhance Twitter card display with a large summary image and creator information.

These updates collectively improve the website's metadata structure, making it more informative and optimized for search engines and social media platforms.

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No breaking changes – Existing functionality remains intact.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔍 Code & Security Review (X in brackets)

  • Follows Code_Audit.md & CONTRIBUTING.md guidelines

📋 Additional Information (optional)


🔄 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/community-scripts/ProxmoxVE/pull/3570 **Author:** [@BramSuurdje](https://github.com/BramSuurdje) **Created:** 4/1/2025 **Status:** ✅ Merged **Merged:** 4/1/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `BramSuurdje-patch-1` --- ### 📝 Commits (2) - [`61b34a3`](https://github.com/community-scripts/ProxmoxVE/commit/61b34a39447bda4c7f286b8001a555f69f4d51a9) Update metadata inside layout.tsx for better SEO - [`b3d24f4`](https://github.com/community-scripts/ProxmoxVE/commit/b3d24f418ee7d8a1f6ef8084045e390779721986) Enhance metadata typing in layout.tsx for improved TypeScript support and SEO. Update canonical link to handle potential undefined href. ### 📊 Changes **1 file changed** (+57 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/app/layout.tsx` (+57 -12) </details> ### 📄 Description <!--🛑 New scripts must first be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs for new scripts that skip this process will be closed. --> ## ✍️ Description This pull request makes significant updates to the metadata configuration in the `layout.tsx` file of the `frontend/src/app` directory. The changes enhance the website's metadata to provide more detailed information and improve its SEO and social media integration. Key changes include: ### Metadata Enhancements: * Added a detailed `description` for the website, highlighting the availability of over 300+ scripts. * Expanded the `keywords` list to include additional relevant terms such as "virtualization," "containers," "LXC," and "VM." * Updated the `authors` field to include multiple authors with their respective URLs. * Introduced new metadata fields such as `licence`, `publisher`, `metadataBase`, `alternates`, `icons`, `viewport`, and `manifest`. ### Social Media Integration: * Added `openGraph` metadata, including `siteName`, image dimensions, and alt text for better social media sharing. * Introduced `twitter` metadata to enhance Twitter card display with a large summary image and creator information. These updates collectively improve the website's metadata structure, making it more informative and optimized for search engines and social media platforms. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No breaking changes** – Existing functionality remains intact. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [x] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- ## 🔍 Code & Security Review (**X** in brackets) - [x] **Follows `Code_Audit.md` & `CONTRIBUTING.md` guidelines** ## 📋 Additional Information (optional) <!-- Add any extra context, screenshots, or references. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 14:30:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#4411
No description provided.