[1/2] update links to HTTPS in main website templates

Message ID 20180914143345.4438-1-peter.mueller@link38.eu
State New
Headers show
Series [1/2] update links to HTTPS in main website templates | expand

Commit Message

Peter Müller Sept. 15, 2018, 12:33 a.m. UTC
Some of the embedded links were still pointing to HTTP destinations or
non-existent (i.e. renamed) Wiki pages.

These have been fixed now.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
---
 templates/admin-planet.html    |  2 +-
 templates/base.html            | 24 ++++++++++++------------
 templates/download-splash.html | 10 +++++-----
 templates/index.html           | 14 +++++++-------
 4 files changed, 25 insertions(+), 25 deletions(-)

Patch

diff --git a/templates/admin-planet.html b/templates/admin-planet.html
index c40118d..6c3ab5b 100644
--- a/templates/admin-planet.html
+++ b/templates/admin-planet.html
@@ -20,7 +20,7 @@ 
 						{{ entry.author.name }}
 					</td>
 					<td>
-						<a href="http://planet.ipfire.org/post/{{ entry.slug }}" target="_blank">{{ entry.title }}</a>
+						<a href="https://planet.ipfire.org/post/{{ entry.slug }}" target="_blank">{{ entry.title }}</a>
 						{% if entry.is_draft() %}
 							<span class="label label-warning">{{ _("Draft") }}</span>
 						{% end %}
diff --git a/templates/base.html b/templates/base.html
index 83533f9..899c2de 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -70,7 +70,7 @@ 
 
 							<ul class="list-unstyled">
 								<li>
-									<a href="http://www.ipfire.org/about">{{ _("About IPFire") }}</a>
+									<a href="https://www.ipfire.org/about">{{ _("About IPFire") }}</a>
 								</li>
 								<li>
 									<a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
@@ -79,7 +79,7 @@ 
 									<a href="https://planet.ipfire.org">{{ _("Planet") }}</a>
 								</li>
 								<li>
-									<a href="http://www.ipfire.org/legal">{{ _("Legal") }}</a>
+									<a href="https://www.ipfire.org/legal">{{ _("Legal") }}</a>
 								</li>
 							</ul>
 						</div>
@@ -89,10 +89,10 @@ 
 
 							<ul class="list-unstyled">
 								<li>
-									<a href="http://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
+									<a href="https://www.ipfire.org/get-support#professional">{{ _("Professional Support") }}</a>
 								</li>
 								<li>
-									<a href="http://wiki.ipfire.org">{{ _("Documentation") }}</a>
+									<a href="https://wiki.ipfire.org">{{ _("Documentation") }}</a>
 								</li>
 							</ul>
 						</div>
@@ -102,16 +102,16 @@ 
 
 							<ul class="list-unstyled">
 								<li>
-									<a href="http://forum.ipfire.org">{{ _("Forum") }}</a>
+									<a href="https://forum.ipfire.org">{{ _("Forum") }}</a>
 								</li>
 								<li>
-									<a href="//www.ipfire.org/chat">{{ _("Chat") }}</a>
+									<a href="https://www.ipfire.org/chat">{{ _("Chat") }}</a>
 								</li>
 								<li>
-									<a href="http://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
+									<a href="https://lists.ipfire.org">{{ _("Mailing Lists") }}</a>
 								</li>
 								<li>
-									<a href="http://talk.ipfire.org">{{ _("Talk") }}</a>
+									<a href="https://talk.ipfire.org">{{ _("Talk") }}</a>
 								</li>
 							</ul>
 						</div>
@@ -121,7 +121,7 @@ 
 
 							<ul class="list-unstyled">
 								<li>
-									<a href="http://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
+									<a href="https://wiki.ipfire.org/devel/start">{{ _("Become a developer") }}</a>
 								</li>
 								<li>
 									<a href="https://pakfire.ipfire.org">{{ _("Pakfire Build Service") }}</a>
@@ -130,20 +130,20 @@ 
 									<a href="https://bugzilla.ipfire.org">{{ _("Bugtracker") }}</a>
 								</li>
 								<li>
-									<a href="http://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
+									<a href="https://patchwork.ipfire.org">{{ _("Patchwork") }}</a>
 								</li>
 							</ul>
 						</div>
 
 						<div class="col-md-4 text-center">
-							<a class="btn btn-primary" href="//www.ipfire.org/donate">
+							<a class="btn btn-primary" href="https://www.ipfire.org/donate">
 								<span class="fa fa-heart"></span> {{ _("Donate") }}
 							</a>
 
 							<br><br>
 
 							<div class="btn-toolbar links">
-								<a class="btn btn-sm" href="http://www.ipfire.org/news.rss">
+								<a class="btn btn-sm" href="https://www.ipfire.org/news.rss">
 									<span class="fa fa-2x fa-rss"></span>
 								</a>
 								<a class="btn btn-sm" href="https://twitter.com/ipfire">
diff --git a/templates/download-splash.html b/templates/download-splash.html
index a4ca41b..2bddef9 100644
--- a/templates/download-splash.html
+++ b/templates/download-splash.html
@@ -10,8 +10,8 @@ 
 
 		<p class="lead">
 			{% if lang == "de" %}
-				Der Download beginnt in Kürze.
-				Falls nicht, auf den untenstehenden Link klicken.
+				Ihr Download beginnt in Kürze.
+				Falls nicht, bitte auf den untenstehenden Link klicken.
 			{% else %}
 				Your download should begin in a few seconds.
 				If not, click the link below.
@@ -24,21 +24,21 @@ 
 	<section class="container content-section text-center">
 		<div class="row">
 			<div class="col-lg-4 col-md-4">
-				<a class="link-normal" href="http://wiki.ipfire.org/en/installation/start">
+				<a class="link-normal" href="https://wiki.ipfire.org/installation/start">
 					<span class="fa fa-4x fa-terminal"></span>
 					<h3>{{ _("How to install IPFire") }}</h3>
 				</a>
 			</div>
 
 			<div class="col-lg-4 col-md-4">
-				<a class="link-normal" href="//www.ipfire.org/donate">
+				<a class="link-normal" href="https://www.ipfire.org/donate">
 					<span class="fa fa-4x fa-heart text-danger"></span>
 					<h3>{{ _("Donate") }}</h3>
 				</a>
 			</div>
 
 			<div class="col-lg-4 col-md-4">
-				<a class="link-normal" href="http://www.ipfire.org/get-support">
+				<a class="link-normal" href="https://www.ipfire.org/get-support">
 					<span class="fa fa-4x fa-question"></span>
 					<h3>{{ _("Get Support") }}</h3>
 				</a>
diff --git a/templates/index.html b/templates/index.html
index 99a0247..f9900f8 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -178,12 +178,12 @@ 
 						<p>
 							{% if lang == "de" %}
 								IPFire wird in Europa entwickelt,
-								<a href="http://fireinfo.ipfire.org/statistics/geo-locations">in vielen Ländern</a>
+								<a href="https://fireinfo.ipfire.org/statistics/geo-locations">in vielen Ländern</a>
 								überall auf der Welt eingesetzt, und bietet
 								Internetzugang für hundertausende Nutzer jeden Tag.
 							{% else %}
 								IPFire is developed in Europe and used all over the world
-								<a href="http://fireinfo.ipfire.org/statistics/geo-locations">in hundreds of countries</a>
+								<a href="https://fireinfo.ipfire.org/statistics/geo-locations">in hundreds of countries</a>
 								by hundreds of thousands of users every day.
 							{% end %}
 						</p>
@@ -232,7 +232,7 @@ 
 										<strong>{{ item.title }}</strong>
 									</a>
 								{% elif type == "planet" %}
-									<a href="http://planet.ipfire.org/post/{{ item.slug }}">
+									<a href="https://planet.ipfire.org/post/{{ item.slug }}">
 										{{ item.title }}
 									</a>
 								{% end %}
@@ -257,11 +257,11 @@ 
 					</span>
 				{% end %}
 
-				<a href="http://wishlist.ipfire.org">
+				<a href="https://wishlist.ipfire.org">
 					<strong>{{ _("IPFire Wishlist") }}</strong>
 				</a>
 
-				<a href="http://wishlist.ipfire.org/wish/{{ hottest_wish.slug }}">
+				<a href="https://wishlist.ipfire.org/wish/{{ hottest_wish.slug }}">
 					{{ hottest_wish.title }}
 				</a>
 
@@ -281,12 +281,12 @@ 
 
 		<p class="lead">
 			{% if lang == "de" %}
-				<a href="http://www.lightningwirelabs.com">Lightning Wire Labs</a> bietet
+				<a href="https://www.lightningwirelabs.com">Lightning Wire Labs</a> bietet
 				Hardware-Appliances für mittlere bis große Unternehmen und SOHO an.
 				Diese sorgen in jedem Netz für beste Zuverlässigkeit, Stabilität
 				und Performance.
 			{% else %}
-				<a href="http://www.lightningwirelabs.com">Lightning Wire Labs</a> offer
+				<a href="https://www.lightningwirelabs.com">Lightning Wire Labs</a> offer
 				IPFire hardware appliances for enterprises, large businesses and SOHO.
 				Deploying one of these on your network will provide you with the
 				greatest reliability, stability and performance.