diff options
Diffstat (limited to 'src/http/landing.rs')
| -rw-r--r-- | src/http/landing.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/landing.rs b/src/http/landing.rs index b978851..f9fca5b 100644 --- a/src/http/landing.rs +++ b/src/http/landing.rs | |||
| @@ -282,7 +282,7 @@ pub fn get_html(config: &Config) -> String { | |||
| 282 | format!( | 282 | format!( |
| 283 | include_str!("../../templates/landing.html"), | 283 | include_str!("../../templates/landing.html"), |
| 284 | base_css = get_base_css(), | 284 | base_css = get_base_css(), |
| 285 | relay_name = config.relay_name, | 285 | relay_name = config.relay_name(), |
| 286 | relay_description = config.relay_description, | 286 | relay_description = config.relay_description, |
| 287 | version = get_version(), | 287 | version = get_version(), |
| 288 | curation = curation, | 288 | curation = curation, |
| @@ -357,7 +357,7 @@ pub fn get_generic_404_html(config: &Config, path: &str) -> String { | |||
| 357 | </body> | 357 | </body> |
| 358 | </html>"##, | 358 | </html>"##, |
| 359 | base_css = get_base_css(), | 359 | base_css = get_base_css(), |
| 360 | relay_name = config.relay_name, | 360 | relay_name = config.relay_name(), |
| 361 | path = path, | 361 | path = path, |
| 362 | version = get_version(), | 362 | version = get_version(), |
| 363 | footer_script = get_footer_script(), | 363 | footer_script = get_footer_script(), |
| @@ -456,7 +456,7 @@ pub fn get_404_html(config: &Config, npub: &str, identifier: &str) -> String { | |||
| 456 | </body> | 456 | </body> |
| 457 | </html>"##, | 457 | </html>"##, |
| 458 | base_css = get_base_css(), | 458 | base_css = get_base_css(), |
| 459 | relay_name = config.relay_name, | 459 | relay_name = config.relay_name(), |
| 460 | npub = npub, | 460 | npub = npub, |
| 461 | identifier = identifier, | 461 | identifier = identifier, |
| 462 | version = get_version(), | 462 | version = get_version(), |
| @@ -598,7 +598,7 @@ pub fn get_repo_html(config: &Config, npub: &str, identifier: &str) -> String { | |||
| 598 | </body> | 598 | </body> |
| 599 | </html>"##, | 599 | </html>"##, |
| 600 | base_css = get_base_css(), | 600 | base_css = get_base_css(), |
| 601 | relay_name = config.relay_name, | 601 | relay_name = config.relay_name(), |
| 602 | npub = npub, | 602 | npub = npub, |
| 603 | identifier = identifier, | 603 | identifier = identifier, |
| 604 | version = get_version(), | 604 | version = get_version(), |