Remove the sitemap from the footer
This commit is contained in:
parent
6aa705d5cc
commit
a288ae8124
|
@ -42,13 +42,6 @@ func BuildStreams() string {
|
|||
return Url("/streams", nil)
|
||||
}
|
||||
|
||||
var RegexSiteMap = regexp.MustCompile("^/sitemap$")
|
||||
|
||||
func BuildSiteMap() string {
|
||||
defer CatchPanic()
|
||||
return Url("/sitemap", nil)
|
||||
}
|
||||
|
||||
var RegexWhenIsIt = regexp.MustCompile("^/whenisit$")
|
||||
|
||||
func BuildWhenIsIt() string {
|
||||
|
|
|
@ -13,23 +13,20 @@
|
|||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ManifestoUrl }}">Handmade Manifesto</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ForumsUrl }}">Forums</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ProjectIndexUrl }}">Projects</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.CodeOfConductUrl }}">Code of Conduct</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.CommunicationGuidelinesUrl }}">Communication Guidelines</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ProjectIndexUrl }}">Project Index</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ForumsUrl }}">Community Forums</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.ContactUrl }}">Contact</a>
|
||||
</li>
|
||||
<li class="{{ $footerClasses }}">
|
||||
<a href="{{ .Footer.SitemapUrl }}">Sitemap</a>
|
||||
</li>
|
||||
</ul>
|
||||
</footer>
|
||||
|
|
|
@ -65,7 +65,6 @@ type Footer struct {
|
|||
ProjectIndexUrl string
|
||||
ForumsUrl string
|
||||
ContactUrl string
|
||||
SitemapUrl string
|
||||
}
|
||||
|
||||
type Thread struct {
|
||||
|
|
|
@ -333,7 +333,6 @@ func getBaseData(c *RequestContext, title string, breadcrumbs []templates.Breadc
|
|||
ProjectIndexUrl: hmnurl.BuildProjectIndex(1),
|
||||
ForumsUrl: hmnurl.BuildForum(models.HMNProjectSlug, nil, 1),
|
||||
ContactUrl: hmnurl.BuildContactPage(),
|
||||
SitemapUrl: hmnurl.BuildSiteMap(),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue