diff --git a/src/hmnurl/urls.go b/src/hmnurl/urls.go
index 74775d23..e9ddf4f7 100644
--- a/src/hmnurl/urls.go
+++ b/src/hmnurl/urls.go
@@ -173,6 +173,13 @@ func BuildProjectSubmissionGuidelines() string {
return Url("/project-guidelines", nil)
}
+var RegexConferences = regexp.MustCompile("^/conferences$")
+
+func BuildConferences() string {
+ defer CatchPanic()
+ return Url("/conferences", nil)
+}
+
/*
* User
*/
diff --git a/src/templates/src/conferences.html b/src/templates/src/conferences.html
new file mode 100644
index 00000000..9e16e0fb
--- /dev/null
+++ b/src/templates/src/conferences.html
@@ -0,0 +1,18 @@
+{{ template "base.html" . }}
+
+{{ define "content" }}
+
+{{ end }}
diff --git a/src/templates/src/include/header.html b/src/templates/src/include/header.html
index 419bb364..e440f0d9 100644
--- a/src/templates/src/include/header.html
+++ b/src/templates/src/include/header.html
@@ -75,6 +75,7 @@
Podcast
Fishbowls
Handmade Dev Show
+ Conferences
diff --git a/src/templates/types.go b/src/templates/types.go
index 33e9c6d2..7b79a966 100644
--- a/src/templates/types.go
+++ b/src/templates/types.go
@@ -52,6 +52,7 @@ type Header struct {
FishbowlUrl string
ForumsUrl string
LibraryUrl string
+ ConferencesUrl string
Project *ProjectHeader
}
diff --git a/src/website/base_data.go b/src/website/base_data.go
index eb41b11c..026b6d6e 100644
--- a/src/website/base_data.go
+++ b/src/website/base_data.go
@@ -75,6 +75,7 @@ func getBaseData(c *RequestContext, title string, breadcrumbs []templates.Breadc
FishbowlUrl: hmnurl.BuildFishbowlIndex(),
ForumsUrl: hmnurl.HMNProjectContext.BuildForum(nil, 1),
LibraryUrl: hmnurl.BuildLibrary(),
+ ConferencesUrl: hmnurl.BuildConferences(),
},
Footer: templates.Footer{
HomepageUrl: hmnurl.BuildHomepage(),
diff --git a/src/website/routes.go b/src/website/routes.go
index 942fd1b0..015d639c 100644
--- a/src/website/routes.go
+++ b/src/website/routes.go
@@ -52,6 +52,7 @@ func NewWebsiteRoutes(conn *pgxpool.Pool) http.Handler {
hmnOnly.GET(hmnurl.RegexContactPage, ContactPage)
hmnOnly.GET(hmnurl.RegexMonthlyUpdatePolicy, MonthlyUpdatePolicy)
hmnOnly.GET(hmnurl.RegexProjectSubmissionGuidelines, ProjectSubmissionGuidelines)
+ hmnOnly.GET(hmnurl.RegexConferences, Conferences)
hmnOnly.GET(hmnurl.RegexWhenIsIt, WhenIsIt)
hmnOnly.GET(hmnurl.RegexJamIndex, JamIndex2022)
hmnOnly.GET(hmnurl.RegexJamIndex2021, JamIndex2021)
diff --git a/src/website/staticpages.go b/src/website/staticpages.go
index 9a2921e1..f54fea6d 100644
--- a/src/website/staticpages.go
+++ b/src/website/staticpages.go
@@ -49,3 +49,9 @@ func ProjectSubmissionGuidelines(c *RequestContext) ResponseData {
res.MustWriteTemplate("project_submission_guidelines.html", getBaseDataAutocrumb(c, "Project Submission Guidelines"), c.Perf)
return res
}
+
+func Conferences(c *RequestContext) ResponseData {
+ var res ResponseData
+ res.MustWriteTemplate("conferences.html", getBaseDataAutocrumb(c, "Conferences"), c.Perf)
+ return res
+}