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