10
10
:license: BSD, see LICENSE for details.
11
11
#}
12
12
13
- < h3 > < a href ="{{ pathto(master_doc) }} "> {{ _('MongoDB Manual') }}</ a >
13
+ < h3 > < a href ="{{ pathto(master_doc) }} "> {{ title }}</ a >
14
14
< small > (< a href ="{{ pathto('genindex') }} "> {{ _('Index') }}</ a > )</ small >
15
15
</ h3 >
16
16
17
17
{{ toctree(maxdepth=-1) }}
18
18
19
+ {%- if theme_is_manual %}
20
+ {%- if project == 'ecosystem' %}
21
+ {%- else %}
19
22
< h3 > {{ _('Formats') }}</ h3 >
20
23
< ul class ="this-page-menu ">
21
24
{%- if show_source and has_source and sourcename %}
@@ -25,17 +28,27 @@ <h3>{{ _('Formats') }}</h3>
25
28
< li > < a href ="{{ theme_pdfpath }} " rel ="nofollow "> {{ _('MongoDB Manual, PDF Format') }}</ a > </ li >
26
29
< li > < a href ="{{ theme_epubpath }} " rel ="nofollow "> {{ _('MongoDB Manual, ePub Format') }}</ a > </ li >
27
30
</ ul >
31
+ {%- endif %}
32
+ {%- endif %}
28
33
29
34
< h3 > Translations</ h3 >
30
35
< ul class ="translation-menu ">
36
+ {%- if theme_is_manual %}
31
37
< li > < a href ="http://jp.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index " %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow "> Japanese</ a > </ li >
32
38
< li > < a href ="http://cn.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index " %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow "> Chinese</ a > </ li >
33
39
<!-- <li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> -->
40
+ {%- else %}
41
+ < li > < a href ="http://jp.docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index " %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow "> Japanese</ a > </ li >
42
+ < li > < a href ="http://cn.docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index " %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow "> Chinese</ a > </ li >
43
+ <!-- <li><a href="http://docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> -->
44
+ {%- endif %}
34
45
</ ul >
35
46
47
+ {%-if is_manual %}
36
48
< h3 > Knowledge Base </ h3 >
37
49
< ul class ="kb-menu ">
38
50
< li > < a href ="{{ pathto('tutorial') }} "> Tutorials</ a > </ li >
39
51
< li > < a href ="{{ pathto('faq') }} "> Frequently Asked Questions</ a > </ li >
40
52
< li > < a href ="{{ pathto('use-cases') }} "> Use Cases</ a > </ li >
41
53
</ ul >
54
+ {%- endif %}
0 commit comments