diff options
Diffstat (limited to 'src/html.rs')
-rw-r--r-- | src/html.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html.rs b/src/html.rs index 12fdab1..82580c6 100644 --- a/src/html.rs +++ b/src/html.rs @@ -14,7 +14,7 @@ pub fn generate_template(data: Vec<serde_json::Value>) -> Markup { meta http-equiv="X-UA-Compatible" content="ie=edge"; title { "The Starscouts" }; - meta name="description" content=(format!("Formerly known as Raindrops · Hi there! We are the Starscouts. We are a plural system of {} creatures. We use she/her pronouns. Learn more about us.", data.len())); + meta name="description" content=(format!("Formerly known as Raindrops · Hi there! We are the Starscouts. We are a plural system of {} creatures. We use she/her pronouns. Learn more about us.", data.len() - 1)); link rel="icon" href="https://cdn.equestria.dev/pluralkit/gdapd/avatar.png" type="image/png"; link rel="stylesheet" href="/assets/bootstrap.min.css"; @@ -149,7 +149,7 @@ pub fn generate_template(data: Vec<serde_json::Value>) -> Markup { p { "Formerly known as Raindrops · We are a plural system of " - (data.len()) + (data.len() - 1) " creatures. We use " b { "she/her" } " pronouns." @@ -233,7 +233,7 @@ pub fn generate_template(data: Vec<serde_json::Value>) -> Markup { div style="display: flex; align-items: center;" { div { a href="https://equestria.dev" target="_blank" class="link" tabindex="0" { - img alt="Equestria.dev" aria-label="Equestria.dev" src="https://cdn.equestria.dev/starshine/brand/wordmark/dark/wordmarkdark.svg" style="height: 42px;" loading="lazy"; + img alt="Equestria.dev" aria-label="Equestria.dev" src="https://equestria.dev/assets/brand/wordmark/dark/wordmarkdark.svg" style="height: 42px;" loading="lazy"; } } } @@ -334,8 +334,8 @@ pub fn generate_template(data: Vec<serde_json::Value>) -> Markup { div class="modal-body" { p { "This website is open-source software. The source code used for running it is available on Equestria.dev's GitLab instance: " - a href="https://source.equestria.dev/equestria.dev/violette" target="_blank" { - "https://source.equestria.dev/equestria.dev/violette" + a href="https://github.com/equestria-dev/violette" target="_blank" { + "https://github.com/equestria-dev/violette" } "." } |