diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-02 15:09:05 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-02 15:09:05 +0000 |
| commit | 599d032ff8bbb529575067c193ac498cac590de5 (patch) | |
| tree | 3871d643b1befc5a6b259ad9829f04ea6f3790b3 /src | |
| parent | 5be93a4cf545a0d3a3ecb3d5b51bd746975520f7 (diff) | |
repo landing page - simplify
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/landing.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/landing.rs b/src/http/landing.rs index df8b513..eaba914 100644 --- a/src/http/landing.rs +++ b/src/http/landing.rs | |||
| @@ -347,7 +347,7 @@ pub fn get_repo_html(config: &Config, npub: &str, identifier: &str) -> String { | |||
| 347 | <h1>{identifier}</h1> | 347 | <h1>{identifier}</h1> |
| 348 | <h3 class="subtitle">by {npub}</h3> | 348 | <h3 class="subtitle">by {npub}</h3> |
| 349 | </div> | 349 | </div> |
| 350 | <p class="subtitle">Git repository hosted on <a href="https://ngit.dev/grasp">Grasp Server</a> {relay_name}</p> | 350 | <p class="subtitle">Git repository hosted using the <a href="https://ngit.dev/grasp">Grasp Protocol</a></p> |
| 351 | 351 | ||
| 352 | <a id="gitworkshop-link" href="https://gitworkshop.dev" class="browse-link" target="_blank"> | 352 | <a id="gitworkshop-link" href="https://gitworkshop.dev" class="browse-link" target="_blank"> |
| 353 | <span class="browse-identifier">Browse Repository</span> | 353 | <span class="browse-identifier">Browse Repository</span> |
| @@ -363,7 +363,6 @@ pub fn get_repo_html(config: &Config, npub: &str, identifier: &str) -> String { | |||
| 363 | </div> | 363 | </div> |
| 364 | </div> | 364 | </div> |
| 365 | </div> | 365 | </div> |
| 366 | {software_box} | ||
| 367 | <div class="footer">Powered by <a href="https://gitworkshop.dev/danconwaydev.com/ngit-grasp"><strong>ngit-grasp</strong></a></div> | 366 | <div class="footer">Powered by <a href="https://gitworkshop.dev/danconwaydev.com/ngit-grasp"><strong>ngit-grasp</strong></a></div> |
| 368 | </div> | 367 | </div> |
| 369 | <script> | 368 | <script> |
| @@ -388,6 +387,5 @@ pub fn get_repo_html(config: &Config, npub: &str, identifier: &str) -> String { | |||
| 388 | relay_name = config.relay_name, | 387 | relay_name = config.relay_name, |
| 389 | npub = npub, | 388 | npub = npub, |
| 390 | identifier = identifier, | 389 | identifier = identifier, |
| 391 | software_box = get_software_box_html(), | ||
| 392 | ) | 390 | ) |
| 393 | } | 391 | } |