all repos — homestead @ 1f86478ad670bdecdd2fa26d17ec23ce902dd8a0

Code for my website

internal/builder/404.templ (view raw)

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

import "website/internal/config"

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