Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom html meta #1423

Merged
merged 2 commits into from
Apr 1, 2017
Merged

Conversation

cez81
Copy link
Contributor

@cez81 cez81 commented Mar 31, 2017

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

conf/app.ini Outdated
@@ -74,6 +74,11 @@ ORG_PAGING_NUM = 50
; Number of repos that are showed in one page
REPO_PAGING_NUM = 15

[ui.meta]
AUTHOR = Gitea - Git with a cup of tea
DESCRIPTION = Gitea: Git with a cup of tea
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems DESCRIPTION's default value is Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason I was thinking it was same as APP_NAME. Corrected in new commit.

@lunny lunny added this to the 1.2.0 milestone Mar 31, 2017
@lunny lunny added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Mar 31, 2017
@lunny
Copy link
Member

lunny commented Mar 31, 2017

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 31, 2017
@ethantkoenig
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 31, 2017
@lunny lunny merged commit 095e1f5 into go-gitea:master Apr 1, 2017
@cez81 cez81 deleted the custom_meta_description branch April 1, 2017 09:42
@pgaskin pgaskin mentioned this pull request Apr 2, 2017
@melroy89
Copy link
Contributor

Missing in the docs: https://docs.gitea.io/en-us/config-cheat-sheet/

Somebody can update the docs please 👍 ??!

@zeripath
Copy link
Contributor

@Danger89 PRs are welcome

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants