[PR #1423] [MERGED] Support for custom html meta #15900

Closed
opened 2025-11-02 11:57:16 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1423
Author: @cez81
Created: 3/31/2017
Status: Merged
Merged: 4/1/2017
Merged by: @lunny

Base: masterHead: custom_meta_description


📝 Commits (2)

  • 1bfd3a3 Support for custom html meta
  • 57af3b6 Changed html meta description default

📊 Changes

4 files changed (+32 additions, -4 deletions)

View changed files

📝 conf/app.ini (+5 -0)
📝 modules/setting/setting.go (+14 -0)
📝 modules/templates/helper.go (+9 -0)
📝 templates/base/head.tmpl (+4 -4)

📄 Description

Fix for #1204

Custom HTML meta tags can be defined in app.ini

[ui.meta]
AUTHOR = Gitea - Git with a cup of tea
DESCRIPTION = Gitea: Git with a cup of tea
KEYWORDS = go,git,self-hosted,gitea

🔄 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/go-gitea/gitea/pull/1423 **Author:** [@cez81](https://github.com/cez81) **Created:** 3/31/2017 **Status:** ✅ Merged **Merged:** 4/1/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `custom_meta_description` --- ### 📝 Commits (2) - [`1bfd3a3`](https://github.com/go-gitea/gitea/commit/1bfd3a36e5720eb38cbf447812f5fcbe6b57463c) Support for custom html meta - [`57af3b6`](https://github.com/go-gitea/gitea/commit/57af3b66d070ae9a593647bd0ec00f71b1f2f324) Changed html meta description default ### 📊 Changes **4 files changed** (+32 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+5 -0) 📝 `modules/setting/setting.go` (+14 -0) 📝 `modules/templates/helper.go` (+9 -0) 📝 `templates/base/head.tmpl` (+4 -4) </details> ### 📄 Description Fix for #1204 Custom HTML meta tags can be defined in app.ini ``` [ui.meta] AUTHOR = Gitea - Git with a cup of tea DESCRIPTION = Gitea: Git with a cup of tea KEYWORDS = go,git,self-hosted,gitea ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:57:16 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15900