diff options
Diffstat (limited to 'common/navigation.j2.inc')
-rw-r--r-- | common/navigation.j2.inc | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc index 535a1a8c..1f502343 100644 --- a/common/navigation.j2.inc +++ b/common/navigation.j2.inc | |||
@@ -17,7 +17,7 @@ | |||
17 | </noscript> | 17 | </noscript> |
18 | <nav class="navbar sticky-top navbar-expand-md bg-near-black"> | 18 | <nav class="navbar sticky-top navbar-expand-md bg-near-black"> |
19 | <a class="navbar-brand" href="index.html"> | 19 | <a class="navbar-brand" href="index.html"> |
20 | <img src="{{ url('static/images/gnunet-logo-dark-only-text.png') }}" alt="GNUnet" height="25px" /> | 20 | <img src="{{ url_static('images/gnunet-logo-dark-only-text.png') }}" alt="GNUnet" height="25px" /> |
21 | </a> | 21 | </a> |
22 | 22 | ||
23 | <!-- menu button --> | 23 | <!-- menu button --> |
@@ -35,22 +35,18 @@ | |||
35 | <!-- navbar --> | 35 | <!-- navbar --> |
36 | <div class="collapse navbar-collapse bg-near-black" id="navbarMain"> | 36 | <div class="collapse navbar-collapse bg-near-black" id="navbarMain"> |
37 | <ul class="navbar-nav mr-auto nav"> | 37 | <ul class="navbar-nav mr-auto nav"> |
38 | <li class="nav-link"> | 38 | <li class="nav-link"><a href="{{ url_localized('about.html') }}">{{ _("About") }}</a></li> |
39 | <a href="about.html">{{ _("About") }}</a></li> | 39 | <li class="nav-link"><a href="{{ url_localized('index.html#news') }}">{{ _("News") }}</a></li> |
40 | </li> | ||
41 | <li class="nav-link"> | ||
42 | <a href="index.html#news">{{ _("News") }}</a> | ||
43 | </li> | ||
44 | <li class="nav-item dropdown"> | 40 | <li class="nav-item dropdown"> |
45 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" | 41 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" |
46 | role="button" aria-haspopup="true" aria-expanded="false"> | 42 | role="button" aria-haspopup="true" aria-expanded="false"> |
47 | {{ _("Community") }} | 43 | {{ _("Community") }} |
48 | </a> | 44 | </a> |
49 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 45 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
50 | <li><a class="dropdown-item" href="engage.html">{{ _("Engage") }} </a></li> | 46 | <li><a class="dropdown-item" href="{{ url_localized('engage.html') }}">{{ _("Engage") }} </a></li> |
51 | <li><a class="dropdown-item" href="gsoc.html">{{ _("GSoC Projects") }}</a></li> | 47 | <li><a class="dropdown-item" href="{{ url_localized('gsoc.html') }}">{{ _("GSoC Projects") }}</a></li> |
52 | <li><a class="dropdown-item" href="ev.html">{{ _("GNUnet e.V.") }}</a></li> | 48 | <li><a class="dropdown-item" href="{{ url_localized('ev.html') }}">{{ _("GNUnet e.V.") }}</a></li> |
53 | <li><a class="dropdown-item" href="copyright.html">{{ _("Copyright for Contributors") }} </a></li> | 49 | <li><a class="dropdown-item" href="{{ url_localized('copyright.html') }}">{{ _("Copyright for Contributors") }} </a></li> |
54 | <!-- li><a class="dropdown-item" href="https://old.gnunet.org/bot/log/gnunet">{{ _("IRC Archive") }}</a></li --> | 50 | <!-- li><a class="dropdown-item" href="https://old.gnunet.org/bot/log/gnunet">{{ _("IRC Archive") }}</a></li --> |
55 | </ul> | 51 | </ul> |
56 | </li> | 52 | </li> |
@@ -61,7 +57,7 @@ | |||
61 | {{ _("Development") }} | 57 | {{ _("Development") }} |
62 | </a> | 58 | </a> |
63 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 59 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
64 | <li><a class="dropdown-item" href="architecture.html">{{ _("System Architecture") }}</a></li> | 60 | <li><a class="dropdown-item" href="{{ url_localized('architecture.html') }}">{{ _("System Architecture") }}</a></li> |
65 | <li><a class="dropdown-item" href="https://bugs.gnunet.org" target="_blank">{{ _("Bug Tracker") }}</a></li> | 61 | <li><a class="dropdown-item" href="https://bugs.gnunet.org" target="_blank">{{ _("Bug Tracker") }}</a></li> |
66 | <li><a class="dropdown-item" href="https://git.gnunet.org" target="_blank">{{ _("Source Code") }}</a></li> | 62 | <li><a class="dropdown-item" href="https://git.gnunet.org" target="_blank">{{ _("Source Code") }}</a></li> |
67 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/doxygen/">{{ _("Source Code Documentation") }}</a></li> | 63 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/doxygen/">{{ _("Source Code Documentation") }}</a></li> |
@@ -70,7 +66,7 @@ | |||
70 | <li><a class="dropdown-item" href="https://gitlab.gnunet.org/" target="_blank">{{ _("Continuous Integration") }}</a></li> | 66 | <li><a class="dropdown-item" href="https://gitlab.gnunet.org/" target="_blank">{{ _("Continuous Integration") }}</a></li> |
71 | --> | 67 | --> |
72 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/tutorial/gnunet-tutorial.html">{{ _("Development Tutorial") }}</a></li> | 68 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/tutorial/gnunet-tutorial.html">{{ _("Development Tutorial") }}</a></li> |
73 | <li><a class="dropdown-item" href="gnurl.html">libgnurl</a></li> | 69 | <li><a class="dropdown-item" href="{{ url_localized('gnurl.html') }}">libgnurl</a></li> |
74 | </ul> | 70 | </ul> |
75 | </li> | 71 | </li> |
76 | <li class="nav-item dropdown"> | 72 | <li class="nav-item dropdown"> |
@@ -83,13 +79,13 @@ | |||
83 | {{ _("Documentation") }} | 79 | {{ _("Documentation") }} |
84 | </a> | 80 | </a> |
85 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 81 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
86 | <li><a class="dropdown-item" href="install.html">{{ _("Install") }}</a></li> | 82 | <li><a class="dropdown-item" href="{{ url_localized('install.html') }}">{{ _("Install") }}</a></li> |
87 | <li><a class="dropdown-item" href="use.html">{{ _("Use") }}</a></li> | 83 | <li><a class="dropdown-item" href="{{ url_localized('use.html') }}">{{ _("Use") }}</a></li> |
88 | <li><a class="dropdown-item" href="video.html">{{ _("Videos") }}</a></li> | 84 | <li><a class="dropdown-item" href="{{ url_localized('video.html') }}">{{ _("Videos") }}</a></li> |
89 | <li><a class="dropdown-item" href="glossary.html">{{ _("Glossary") }}</a></li> | 85 | <li><a class="dropdown-item" href="{{ url_localized('glossary.html') }}">{{ _("Glossary") }}</a></li> |
90 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/handbook/gnunet.html">{{ _("Handbook") }}</a></li> | 86 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/handbook/gnunet.html">{{ _("Handbook") }}</a></li> |
91 | <li><a class="dropdown-item" target="_blank" href="https://rest.gnunet.org/">{{ _("REST API") }}</a></li> | 87 | <li><a class="dropdown-item" target="_blank" href="https://rest.gnunet.org/">{{ _("REST API") }}</a></li> |
92 | <li><a class="dropdown-item" href="faq.html">{{ _("FAQ") }}</a></li> | 88 | <li><a class="dropdown-item" href="{{ url_localized('faq.html') }}">{{ _("FAQ") }}</a></li> |
93 | <li><a class="dropdown-item" href="https://bib.gnunet.org/date.html" target="_blank">{{ _("Bibliography") }}</a></li> | 89 | <li><a class="dropdown-item" href="https://bib.gnunet.org/date.html" target="_blank">{{ _("Bibliography") }}</a></li> |
94 | </ul> | 90 | </ul> |
95 | </li> | 91 | </li> |