summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kügel <skuegel@web.de>2023-09-20 12:39:40 +0200
committerStefan Kügel <skuegel@web.de>2023-09-20 12:39:40 +0200
commitbb8fb61b163dcf05328b7ab71714bd5930330836 (patch)
treef3e60335610df4b24112058a6f6041a683a71b9b
parent07bd2c86227f5f3699ddb8397c14e12efad98d17 (diff)
downloadwww-bb8fb61b163dcf05328b7ab71714bd5930330836.tar.gz
www-bb8fb61b163dcf05328b7ab71714bd5930330836.tar.bz2
www-bb8fb61b163dcf05328b7ab71714bd5930330836.zip
Integrating a link under the news section for the GNU40 celebration on index.html
Signed-off-by: Stefan Kügel <skuegel@web.de>
-rw-r--r--static/images/GNU40_badge-sm.pngbin0 -> 25185 bytes
-rw-r--r--template/index.html.j25
2 files changed, 5 insertions, 0 deletions
diff --git a/static/images/GNU40_badge-sm.png b/static/images/GNU40_badge-sm.png
new file mode 100644
index 00000000..58c1f88d
--- /dev/null
+++ b/static/images/GNU40_badge-sm.png
Binary files differ
diff --git a/template/index.html.j2 b/template/index.html.j2
index ab6fd2f7..7ba46825 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -53,6 +53,11 @@
<div class="col-12">
<h2><a href="{{ url_localized('news/index.html')}}">{{ _("News") }}</a></h2>
</div>
+
+ <div class="col-12">
+ <a href="https://www.gnu.org/gnu40/" target="_blank" rel="noopener noreferrer">2023-09-27: GNU40 celebration in Biel, Switzerland<img width="81.5" height="66.5" src="{{ url_static('images/GNU40_badge-sm.png') }}" alt="[ Celebrate 40 years of GNU! ]"></a>
+ </div>
+
{% for item in newsdata[:3] %}
<div class="col-12">
<a href="{{ url_localized('news/' + item['page']) }}" title="{{ item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a>