diff options
author | Jonas <cez81@users.noreply.github.com> | 2017-04-01 03:03:01 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-31 18:03:01 -0700 |
commit | 095e1f51556d940a07d9f8580d0d25acf6a39c63 (patch) | |
tree | 0f704e7f9bcab17bb20fcb1c769846cbf3ccdc80 /modules/setting | |
parent | 6a39250579f240721d5d8b2eca017fa94126dc9d (diff) | |
download | gitea-095e1f51556d940a07d9f8580d0d25acf6a39c63.tar.gz gitea-095e1f51556d940a07d9f8580d0d25acf6a39c63.zip |
Support for custom html meta (#1423)
* Support for custom html meta
* Changed html meta description default
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 59cc755d03..5a0666ade2 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -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 |