mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Support for custom html meta (#1423)
* Support for custom html meta * Changed html meta description default
This commit is contained in:
		@@ -226,6 +226,11 @@ var (
 | 
			
		||||
		User struct {
 | 
			
		||||
			RepoPagingNum int
 | 
			
		||||
		} `ini:"ui.user"`
 | 
			
		||||
		Meta struct {
 | 
			
		||||
			Author      string
 | 
			
		||||
			Description string
 | 
			
		||||
			Keywords    string
 | 
			
		||||
		} `ini:"ui.meta"`
 | 
			
		||||
	}{
 | 
			
		||||
		ExplorePagingNum:   20,
 | 
			
		||||
		IssuePagingNum:     10,
 | 
			
		||||
@@ -248,6 +253,15 @@ var (
 | 
			
		||||
		}{
 | 
			
		||||
			RepoPagingNum: 15,
 | 
			
		||||
		},
 | 
			
		||||
		Meta: struct {
 | 
			
		||||
			Author      string
 | 
			
		||||
			Description string
 | 
			
		||||
			Keywords    string
 | 
			
		||||
		}{
 | 
			
		||||
			Author:      "Gitea - Git with a cup of tea",
 | 
			
		||||
			Description: "Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go",
 | 
			
		||||
			Keywords:    "go,git,self-hosted,gitea",
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Markdown settings
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user