}
}
}
// Summary is the summary of a repository: the README reads in the main
// column at the reading measure; what one acts on sits in the rail.
templ Summary(l Layout, p SummaryPage) {
@Shell(l, summaryRail(p)) {
if p.Readme != nil {
@ReadmeCard(*p.Readme)
}
}
}
templ summaryRail(p SummaryPage) {
}
}
// Login signs the browser in with a login link. Opening the link consumes
// nothing; only this form does. ermite.js submits it as soon as a browser
// shows the page (data-autosubmit): link previews and prefetchers run no
// script, so they still cannot use the link. Without scripts the owner
// clicks the button.
templ Login(l Layout, p LoginPage) {
@Shell(l, nil) {
}
}
// PasskeyLogin is the sign-in page: a button the script (passkey.js) drives.
// Without script the button is hidden and the page says what to do instead.
templ PasskeyLogin(l Layout, p PasskeyLoginPage) {
@Shell(l, nil) {