all repos — homestead @ 7a4791a67e14f7cfddd19dcb9454b509d9fd2149

Code for my website

templates/404.templ (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
package templates

import "website/internal/config"

templ NotFound(config config.Config, path string) {
	@Page(config, PageSettings{
		Title: "Not Found",
		Path:  path,
	}) {
		<h1>404</h1>
		<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
	}
}