404
Repository Not Found
This repository doesn't exist on this GRASP server.
Owner
{npub}
Repository
{identifier}
The repository may not have been announced to this server, or the URL may be incorrect.
← Back to {relay_name}
{footer_script}
{theme_script}
"##,
base_css = get_base_css(),
relay_name = config.relay_name(),
npub = npub,
identifier = identifier,
version = get_version(),
footer_script = get_footer_script(),
theme_toggle = get_theme_toggle_html(),
theme_script = get_theme_script(),
)
}
/// Generate a webpage for an existing repository
///
/// GRASP-01: "SHOULD serve a webpage at the same endpoint linking to git nostr client(s)
/// to browse the repository"
pub fn get_repo_html(config: &Config, npub: &str, identifier: &str) -> String {
format!(
r##"