From 345cd69cd194f3c408765c78e033ac0ae70a1e75 Mon Sep 17 00:00:00 2001
From: idk <hankhill19580@gmail.com>
Date: Fri, 17 Sep 2021 00:33:47 -0400
Subject: [PATCH] Make nsis link point to easyinstall

---
 i2p2www/legacy.py                        | 1 +
 i2p2www/pages/downloads/easyinstall.html | 2 +-
 i2p2www/urls.py                          | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/i2p2www/legacy.py b/i2p2www/legacy.py
index b3b2418e9..f507b4519 100644
--- a/i2p2www/legacy.py
+++ b/i2p2www/legacy.py
@@ -21,6 +21,7 @@ LEGACY_FUNCTIONS_MAP={
     'lab':           {'function': 'downloads_lab',    'params': {}},
     'mac':           {'function': 'downloads_mac',    'params': {}},
     'easyinstall':           {'function': 'downloads_easyinstall',    'params': {}},
+    'nsis':           {'function': 'downloads_easyinstall',    'params': {}},
     'windows':           {'function': 'downloads_windows',    'params': {}},
     'download':      {'function': 'downloads_list',   'params': {}},
     'installation':  {'function': 'downloads_list',   'params': {}},
diff --git a/i2p2www/pages/downloads/easyinstall.html b/i2p2www/pages/downloads/easyinstall.html
index 26e0bf3d2..89ceb0a16 100644
--- a/i2p2www/pages/downloads/easyinstall.html
+++ b/i2p2www/pages/downloads/easyinstall.html
@@ -1,6 +1,6 @@
 {% extends "global/layout.html" %}
 {%- from "downloads/macros" import package_outer with context -%}
-{% block title %}I2P Easy Install Bundle(Beta){% endblock %}
+{% block title %}I2P Easy Install Bundle (Beta) for Windows{% endblock %}
 {% block content %}
 
 <h1>{{ _('I2P Easy Install Bundle (Beta) for Windows') }}</h1>
diff --git a/i2p2www/urls.py b/i2p2www/urls.py
index 84a08ed43..fe0486bc4 100644
--- a/i2p2www/urls.py
+++ b/i2p2www/urls.py
@@ -93,6 +93,7 @@ url('/<lang:lang>/download/debian', 'downloads.downloads_debian')
 url('/<lang:lang>/download/docker', 'downloads.downloads_docker')
 url('/<lang:lang>/download/windows', 'downloads.downloads_windows')
 url('/<lang:lang>/download/easyinstall', 'downloads.downloads_easyinstall')
+url('/<lang:lang>/download/nsis', 'downloads.downloads_easyinstall')
 url('/<lang:lang>/download/firefox', 'downloads.downloads_firefox')
 url('/<lang:lang>/download/config', 'downloads.downloads_config')
 url('/<lang:lang>/download/lab', 'downloads.downloads_lab')
-- 
GitLab