aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/html')
-rw-r--r--pkg/html/status.go (renamed from pkg/html/notfound.go)8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/html/notfound.go b/pkg/html/status.go
index ceb521f..569a236 100644
--- a/pkg/html/notfound.go
+++ b/pkg/html/status.go
@@ -23,3 +23,11 @@ func NotFoundSitePage(host string) Node {
P(Text(fmt.Sprintf("The site %s is unknown", host))),
)
}
+
+func ForbiddenDisabledPage(host string) Node {
+ return Page("Forbidden",
+ H1(Text("Forbidden")),
+
+ P(Text(fmt.Sprintf("Site %s is disabled", host))),
+ )
+}