|
|
@@ -13,6 +13,9 @@ import (
|
|
|
)
|
|
|
|
|
|
const (
|
|
|
+ // SitemapTPL page template
|
|
|
+ SitemapTPL = "sitemap"
|
|
|
+
|
|
|
// UserSitemapTPL page template
|
|
|
UserSitemapTPL = "user/sitemap"
|
|
|
|
|
|
@@ -23,6 +26,11 @@ const (
|
|
|
RepoSitemapTPL = "repo/sitemap"
|
|
|
)
|
|
|
|
|
|
+// Sitemap shows about page
|
|
|
+func Sitemap(c *context.Context) {
|
|
|
+ c.HTML(200, SitemapTPL)
|
|
|
+}
|
|
|
+
|
|
|
// UserSitemap shows about page
|
|
|
func UserSitemap(c *context.Context) {
|
|
|
routes.RenderUserSearch(c, &routes.UserSearchOptions{
|