File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,6 @@ pub fn static_dir() -> String {
32
32
}
33
33
}
34
34
35
- // pub fn content_dir() -> String {
36
- // match var("CONTENT_DIRECTORY") {
37
- // Ok(dir) => dir,
38
- // Err(_) => "content".to_string(),
39
- // }
40
- // }
41
-
42
35
pub fn search_index_dir ( ) -> String {
43
36
match var ( "SEARCH_INDEX_DIRECTORY" ) {
44
37
Ok ( path) => path,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
15
15
< a class ="nav-link text-white " href ="https://discord.gg/DmyJP3qJ7U "> Discord</ a >
16
16
</ nav >
17
17
</ div >
18
+ < % if !crate::utils::config::standalone_dashboard() {; %>
18
19
< div class ="col-12 col-lg-6 col-xl-4 ">
19
20
< nav class ="nav d-flex flex-column ">
20
21
< 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">
23
24
< a class ="nav-link text-white " href ="/privacy " data-turbo ="false "> Privacy Policy</ a >
24
25
</ nav >
25
26
</ div >
27
+ < % } %>
26
28
</ div >
27
29
</ div >
28
30
You can’t perform that action at this time.
0 commit comments