diff options
author | Bwko <bouwko@gmail.com> | 2016-12-02 02:12:16 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-02 09:12:16 +0800 |
commit | 5ab85372da74bd95f7143fd59c2c600d4c9894d0 (patch) | |
tree | ed69c018ea3ee015a6854ed47f6e1d2f3ec32c99 /templates/org/home.tmpl | |
parent | 1ae6ccb5f1e8c6c2c0188e81de91ec50761bf436 (diff) | |
download | gitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.tar.gz gitea-5ab85372da74bd95f7143fd59c2c600d4c9894d0.zip |
Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r-- | templates/org/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 69de8d3481..9b8b311666 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -12,7 +12,7 @@ {{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}} <div class="text grey meta"> {{if .Org.Location}}<div class="item"><span class="octicon octicon-location"></span> <span>{{.Org.Location}}</span></div>{{end}} - {{if .Org.Website}}<div class="item"><span class="octicon octicon-link"></span> <a target="_blank" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}} + {{if .Org.Website}}<div class="item"><span class="octicon octicon-link"></span> <a target="_blank" rel="noopener" href="{{.Org.Website}}">{{.Org.Website}}</a></div>{{end}} </div> </div> |