diff --git a/custom/public/robots.txt b/custom/public/robots.txt new file mode 100644 index 0000000..28c92d8 --- /dev/null +++ b/custom/public/robots.txt @@ -0,0 +1,86 @@ +User-agent: MJ12bot +Disallow: / + + +User-agent: AdsBot-Google +Disallow: / + + +User-agent: Mediapartners* +Disallow: / + + +User-agent: SemrushBot* +Disallow: / + + +User-agent: * + +Disallow: /api/* +Disallow: /avatars +Disallow: /user/* +Disallow: /*/*/src/commit/* +Disallow: /*/*/commit/* +Disallow: /*/*/*/refs/* +Disallow: /*/*/*/star +Disallow: /*/*/*/watch +Disallow: /*/*/labels +Disallow: /*/*/activity/* +Disallow: /vendor/* +Disallow: /swagger.*.json + +Disallow: /*?lang= + +Disallow: */pulse +Disallow: */tree/* +Disallow: */blob/* +Disallow: */wiki/ +Disallow: /gist/ +Disallow: /oembed +Disallow: */forks +Disallow: */stars +Disallow: */download +Disallow: */revisions +Disallow: */issues/new +Disallow: */issues/search +Disallow: */commits/ +Disallow: */commits/*?author +Disallow: */commits/*?path +Disallow: */branches +Disallow: */tags +Disallow: */contributors +Disallow: */comments +Disallow: */tarball/ +Disallow: */zipball/ +Disallow: */raw/* +Disallow: */followers +Disallow: */following +Disallow: */archive/ +Disallow: */blame/ +Disallow: */watchers +Disallow: */network +Disallow: */graphs +Disallow: */raw/ +Disallow: */compare/ +Disallow: */cache/ +Disallow: */blame/ +Disallow: */network +Disallow: */graphs +Disallow: */raw/ +Disallow: */compare/ +Disallow: */cache/ +Disallow: /.git/ +Disallow: */.git/ +Disallow: /*.git$ +Disallow: /*/sitemap.xml +Disallow: /search/advanced +Disallow: /search +Disallow: */search +Disallow: /*q= +Disallow: /*.atom +Allow: /*/*/tree/master +Allow: /*/*/tree/main +Allow: /*/*/blob/master +Allow: /*/*/blob/main + +Crawl-delay: 1 diff --git a/custom/public/ssh-hostkeys.txt b/custom/public/ssh-hostkeys.txt index 8412e87..4b9c5bb 100644 --- a/custom/public/ssh-hostkeys.txt +++ b/custom/public/ssh-hostkeys.txt @@ -2,3 +2,7 @@ SHA256:i6DvPgfdDa9vafcCYdsleV1v5P2WFPHrNt/eJWL1KTo (ED25519) SHA256:1ksd14LUKfLaRriGWt/zlfhetUUVv4cehIffK//iH6o (ECDSA) SHA256:2t/JTS5p/AGee3mj3DRCWVhnGAjxC67akaG+qE9J4cU (RSA) + +MD5:25:e6:59:33:f7:2c:f3:ce:ad:03:ef:81:4b:c1:b1:17 (ED25519) +MD5:1d:d1:8b:51:cc:d2:08:19:51:1a:f8:20:66:55:07:fb (ECDSA) +MD5:1b:95:d7:b7:01:19:ac:81:7d:71:cf:df:05:29:57:85 (RSA) diff --git a/custom/templates/base/footer_content.tmpl b/custom/templates/base/footer_content.tmpl index 10f103c..d474ce3 100644 --- a/custom/templates/base/footer_content.tmpl +++ b/custom/templates/base/footer_content.tmpl @@ -18,7 +18,6 @@ {{.i18n.Tr "licenses"}} {{if .EnableSwagger}}API{{end}} - Homepage {{template "custom/extra_links_footer" .}} {{if (or .ShowFooterVersion .PageIsAdmin)}}{{GoVer}}{{end}} diff --git a/custom/templates/base/head_navbar.tmpl b/custom/templates/base/head_navbar.tmpl new file mode 100644 index 0000000..a6643ef --- /dev/null +++ b/custom/templates/base/head_navbar.tmpl @@ -0,0 +1,151 @@ +
diff --git a/custom/templates/custom/extra_links.tmpl b/custom/templates/custom/extra_links.tmpl index ec60c6e..f13cf4e 100644 --- a/custom/templates/custom/extra_links.tmpl +++ b/custom/templates/custom/extra_links.tmpl @@ -1,4 +1,5 @@ {{if .IsSigned}} +Drone CI Gitea Help Git Help {{end}}