Skip to content

Commit 4b921f3

Browse files
remove links from open source footer (#702)
1 parent 25162cc commit 4b921f3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pgml-dashboard/src/utils/config.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ pub fn static_dir() -> String {
3232
}
3333
}
3434

35-
// pub fn content_dir() -> String {
36-
// match var("CONTENT_DIRECTORY") {
37-
// Ok(dir) => dir,
38-
// Err(_) => "content".to_string(),
39-
// }
40-
// }
41-
4235
pub fn search_index_dir() -> String {
4336
match var("SEARCH_INDEX_DIRECTORY") {
4437
Ok(path) => path,

pgml-dashboard/templates/layout/footer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
1515
<a class="nav-link text-white" href="https://discord.gg/DmyJP3qJ7U">Discord</a>
1616
</nav>
1717
</div>
18+
<% if !crate::utils::config::standalone_dashboard() {; %>
1819
<div class="col-12 col-lg-6 col-xl-4">
1920
<nav class="nav d-flex flex-column">
2021
<a class="nav-link text-white" href="<%= crate::utils::config::signup_url() %>">Create an Account</a>
@@ -23,6 +24,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
2324
<a class="nav-link text-white" href="/privacy" data-turbo="false">Privacy Policy</a>
2425
</nav>
2526
</div>
27+
<% } %>
2628
</div>
2729
</div>
2830

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy