diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/footer.j2.inc | 2 | ||||
-rw-r--r-- | common/header.j2.inc | 2 | ||||
-rw-r--r-- | common/navigation.j2.inc | 7 | ||||
-rw-r--r-- | common/old-news.j2.inc | 44 |
4 files changed, 49 insertions, 6 deletions
diff --git a/common/footer.j2.inc b/common/footer.j2.inc index 07bd219f..b663d6bb 100644 --- a/common/footer.j2.inc +++ b/common/footer.j2.inc | |||
@@ -27,7 +27,7 @@ | |||
27 | <p> | 27 | <p> |
28 | Copyright © | 28 | Copyright © |
29 | <a href="{{ url_localized('ev.html') }}">GNUnet e.V.</a> | 29 | <a href="{{ url_localized('ev.html') }}">GNUnet e.V.</a> |
30 | 2001 — 2020. | 30 | 2001 — 2021. |
31 | <a href="https://git.gnunet.org/www.git">{{ _("Source code of this site.") }}</a> | 31 | <a href="https://git.gnunet.org/www.git">{{ _("Source code of this site.") }}</a> |
32 | <a href="{{ url_localized('contact.html') }}">{{ _("Report issues with this website.") }}</a> | 32 | <a href="{{ url_localized('contact.html') }}">{{ _("Report issues with this website.") }}</a> |
33 | </p> | 33 | </p> |
diff --git a/common/header.j2.inc b/common/header.j2.inc index 9d797fed..b97c9eec 100644 --- a/common/header.j2.inc +++ b/common/header.j2.inc | |||
@@ -55,7 +55,7 @@ | |||
55 | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | 55 | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
56 | <![endif]--> | 56 | <![endif]--> |
57 | 57 | ||
58 | <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" href="{{ url_localized('news/rss.xml') }}" /> | 58 | <link rel="alternate" type="application/rss+xml" title="GNUnet.org rss" href="{{ url_localized('rss.xml') }}" /> |
59 | 59 | ||
60 | <!-- opengraph --> | 60 | <!-- opengraph --> |
61 | <!-- | 61 | <!-- |
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc index 2237ecf9..5acf913f 100644 --- a/common/navigation.j2.inc +++ b/common/navigation.j2.inc | |||
@@ -46,7 +46,7 @@ | |||
46 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 46 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
47 | <li><a class="dropdown-item" href="{{ url_localized('engage.html') }}">{{ _("Engage") }} </a></li> | 47 | <li><a class="dropdown-item" href="{{ url_localized('engage.html') }}">{{ _("Engage") }} </a></li> |
48 | <li><a class="dropdown-item" href="{{ url_localized('gsoc.html') }}">{{ _("GSoC Projects") }}</a></li> | 48 | <li><a class="dropdown-item" href="{{ url_localized('gsoc.html') }}">{{ _("GSoC Projects") }}</a></li> |
49 | <li><a class="dropdown-item" href="{{ url_localized('ev.html') }}">{{ _("GNUnet e.V.") }}</a></li> | 49 | <li><a class="dropdown-item" href="{{ url_localized('ev.html') }}">GNUnet e.V.</a></li> |
50 | <li><a class="dropdown-item" href="{{ url_localized('copyright.html') }}">{{ _("Copyright for Contributors") }} </a></li> | 50 | <li><a class="dropdown-item" href="{{ url_localized('copyright.html') }}">{{ _("Copyright for Contributors") }} </a></li> |
51 | <!-- li><a class="dropdown-item" href="https://old.gnunet.org/bot/log/gnunet">{{ _("IRC Archive") }}</a></li --> | 51 | <!-- li><a class="dropdown-item" href="https://old.gnunet.org/bot/log/gnunet">{{ _("IRC Archive") }}</a></li --> |
52 | </ul> | 52 | </ul> |
@@ -60,9 +60,7 @@ | |||
60 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> | 60 | <ul class="dropdown-menu" aria-labelledby="navbarMain"> |
61 | <li><a class="dropdown-item" href="{{ url_localized('architecture.html') }}">{{ _("System Architecture") }}</a></li> | 61 | <li><a class="dropdown-item" href="{{ url_localized('architecture.html') }}">{{ _("System Architecture") }}</a></li> |
62 | 62 | ||
63 | <!-- TODO fill with content | 63 | <li><a class="dropdown-item" href="{{ url_localized('roadmap.html') }}">{{ _("Roadmap") }}</a></li> |
64 | |||
65 | <li><a class="dropdown-item" href="{{ url_localized('roadmap.html') }}">{{ _("Roadmap") }}</a></li>--> | ||
66 | <li><a class="dropdown-item" href="https://bugs.gnunet.org" target="_blank">{{ _("Bug Tracker") }}</a></li> | 64 | <li><a class="dropdown-item" href="https://bugs.gnunet.org" target="_blank">{{ _("Bug Tracker") }}</a></li> |
67 | <li><a class="dropdown-item" href="https://git.gnunet.org" target="_blank">{{ _("Source Code") }}</a></li> | 65 | <li><a class="dropdown-item" href="https://git.gnunet.org" target="_blank">{{ _("Source Code") }}</a></li> |
68 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/doxygen/">{{ _("Source Code Documentation") }}</a></li> | 66 | <li><a class="dropdown-item" target="_blank" href="https://docs.gnunet.org/doxygen/">{{ _("Source Code Documentation") }}</a></li> |
@@ -86,6 +84,7 @@ | |||
86 | <li><a class="dropdown-item" href="{{ url_localized('video.html') }}">{{ _("Videos") }}</a></li> | 84 | <li><a class="dropdown-item" href="{{ url_localized('video.html') }}">{{ _("Videos") }}</a></li> |
87 | <li><a class="dropdown-item" href="{{ url_localized('glossary.html') }}">{{ _("Glossary") }}</a></li> | 85 | <li><a class="dropdown-item" href="{{ url_localized('glossary.html') }}">{{ _("Glossary") }}</a></li> |
88 | <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> |
87 | <li><a class="dropdown-item" target="_blank" href="{{ url_localized('livingstandards.html') }}">Living Standards</a></li> | ||
89 | <li><a class="dropdown-item" target="_blank" href="https://rest.gnunet.org/">{{ _("REST API") }}</a></li> | 88 | <li><a class="dropdown-item" target="_blank" href="https://rest.gnunet.org/">{{ _("REST API") }}</a></li> |
90 | <li><a class="dropdown-item" href="{{ url_localized('faq.html') }}">{{ _("FAQ") }}</a></li> | 89 | <li><a class="dropdown-item" href="{{ url_localized('faq.html') }}">{{ _("FAQ") }}</a></li> |
91 | <li><a class="dropdown-item" href="https://bib.gnunet.org/date.html" target="_blank">{{ _("Bibliography") }}</a></li> | 90 | <li><a class="dropdown-item" href="https://bib.gnunet.org/date.html" target="_blank">{{ _("Bibliography") }}</a></li> |
diff --git a/common/old-news.j2.inc b/common/old-news.j2.inc new file mode 100644 index 00000000..d4d45ef4 --- /dev/null +++ b/common/old-news.j2.inc | |||
@@ -0,0 +1,44 @@ | |||
1 | {% macro oldnews(year) %} | ||
2 | <div class="container-fluid"> | ||
3 | <div class="container"> | ||
4 | <article> | ||
5 | <div class="row"> | ||
6 | <div class="container text-center"> | ||
7 | <h1>{{ _("News") + " " + (year|string) }}<a name="news"></a></h1> | ||
8 | <section> | ||
9 | <p> | ||
10 | {% trans %} | ||
11 | News posts about changes related to | ||
12 | GNUnet such as releases and events | ||
13 | {% endtrans %} | ||
14 | – | ||
15 | <a href="{{ url_localized('rss.xml') }}">{{ _("subscribe to our RSS feed") }}</a> | ||
16 | </p> | ||
17 | </section> | ||
18 | </div> | ||
19 | </div> | ||
20 | <div class="row"> | ||
21 | <b>{{ year }}</b> | ||
22 | <ul class="timeline"> | ||
23 | {% for item in newsdata|selectattr('date.year', 'eq', year) %} | ||
24 | <li> | ||
25 | <section class="item-preview"> | ||
26 | <header> | ||
27 | <h3>{{ item['title']|e }}</h3> | ||
28 | <p class="item-date"> | ||
29 | {{ item['date'] }} | ||
30 | </p> | ||
31 | </header> | ||
32 | <p class="item-abstract"> | ||
33 | {{ get_abstract(item['page'], 1000) }} <br/> | ||
34 | [<a href="{{ url_localized(item['page']) }}" title="{{ item['date']}}">{{ _("read more") }}</a>] | ||
35 | </p> | ||
36 | </section> | ||
37 | </li> | ||
38 | {% endfor %} | ||
39 | </ul> | ||
40 | </div> | ||
41 | </article> | ||
42 | </div> | ||
43 | </div> | ||
44 | {% endmacro %} | ||