File tree Expand file tree Collapse file tree 5 files changed +26
-7
lines changed
Expand file tree Collapse file tree 5 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 33- [ Türkiye] ( tr/ )
44- [ Français] ( fr/ )
55- [ Indonesian] ( id/ )
6- - [ Español] ( es/ )
6+ - [ Español] ( es/ )
7+ - [ Deutsch] ( de/ )
Original file line number Diff line number Diff line change @@ -45,12 +45,18 @@ <h2><i class="fas fa-language"></i> {{ "LANGS_CHOOSE"|t }}</h2>
4545 < h3 > {{ lang.title }}</ h3 >
4646 </ div >
4747 < div class ="card-actions ">
48- < a href ="{{ (lang.id + "/README.md")|contentURL }}" class="action-btn preview">
49- < i class ="fas fa-eye "> </ i > Preview
50- </ a >
51- < a href ="https://github.com/sumn2u/learn-javascript/raw/main/books/book_{{ lang.id }}.pdf " class ="action-btn download ">
52- < i class ="fas fa-download "> </ i > PDF
53- </ a >
48+ {% if lang.id == 'de' %}
49+ < a href ="{{ (lang.id + "/README.md")|contentURL }}" class="action-btn preview">
50+ < i class ="fas fa-eye "> </ i > Preview
51+ </ a >
52+ {% else %}
53+ < a href ="{{ (lang.id + "/README.md")|contentURL }}" class="action-btn preview">
54+ < i class ="fas fa-eye "> </ i > Preview
55+ </ a >
56+ < a href ="https://github.com/sumn2u/learn-javascript/raw/main/books/book_{{ lang.id }}.pdf " class ="action-btn download ">
57+ < i class ="fas fa-download "> </ i > PDF
58+ </ a >
59+ {% endif %}
5460 </ div >
5561 </ div >
5662 {% endfor %}
Original file line number Diff line number Diff line change 9292 {
9393 "config" : " es" ,
9494 "text" : " Español"
95+ },
96+ {
97+ "config" : " de" ,
98+ "text" : " Deutsch"
9599 }
96100 ]
97101 }
Original file line number Diff line number Diff line change 8585 {
8686 "config" : " es" ,
8787 "text" : " Español"
88+ },
89+ {
90+ "config" : " de" ,
91+ "text" : " Deutsch"
8892 }
8993 ]
9094 }
Original file line number Diff line number Diff line change 8686 {
8787 "config" : " es" ,
8888 "text" : " Español"
89+ },
90+ {
91+ "config" : " de" ,
92+ "text" : " Deutsch"
8993 }
9094 ]
9195 }
You can’t perform that action at this time.
0 commit comments