From 620c32e45ee588a8f4c2178d0a2e9caf470c41b6 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Tue, 16 Jul 2019 03:19:49 -0600 Subject: [PATCH 1/6] Keep
 from displaying the trailing newline in
 DESCR/README.

---
 views/port.tt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/views/port.tt b/views/port.tt
index dc54217..70e9775 100644
--- a/views/port.tt
+++ b/views/port.tt
@@ -8,8 +8,7 @@
 

Description

-<% descr %>
-
+<% descr %>
<% IF homepage %> WWW: <% homepage | html %> <% ELSE %> @@ -19,8 +18,7 @@ No homepage <% IF readme %>

Readme

-<% readme %>
-
+<% readme %> <% END %>

Maintainer

From 4dfbdada4c56ca906c53bd42766ab52426ef619f Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Tue, 16 Jul 2019 03:22:58 -0600 Subject: [PATCH 2/6] Move to shorter CVSWeb link and https. --- views/port.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/port.tt b/views/port.tt index 70e9775..d487c02 100644 --- a/views/port.tt +++ b/views/port.tt @@ -4,7 +4,7 @@

<% fullpkgname | html %> – <% comment | html %> -(source)

+(source)

Description


From 449dd619615d82d13a41ed272df9cbfac84c2e19 Mon Sep 17 00:00:00 2001
From: "Anthony J. Bentley" 
Date: Tue, 16 Jul 2019 03:29:52 -0600
Subject: [PATCH 3/6] Simplify and validate HTML.

---
 public/404.html       | 15 +++++----------
 public/500.html       | 15 +++++----------
 views/layouts/main.tt | 19 +++++++------------
 views/port.tt         |  2 +-
 4 files changed, 18 insertions(+), 33 deletions(-)

diff --git a/public/404.html b/public/404.html
index 09ee1a4..5e362cd 100644
--- a/public/404.html
+++ b/public/404.html
@@ -1,12 +1,9 @@
-
-
-
+
+
 Error 404
-
-
-
-
+
+
+
 

Error 404

@@ -15,5 +12,3 @@

Page Not Found

Bad url.

- - diff --git a/public/500.html b/public/500.html index ccef9b3..b01a268 100644 --- a/public/500.html +++ b/public/500.html @@ -1,12 +1,9 @@ - - - + + Error 500 - - - - + + +

Error 500

@@ -15,5 +12,3 @@

Internal Server Error

Wooops, something went wrong

- - diff --git a/views/layouts/main.tt b/views/layouts/main.tt index 0809185..992230b 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -1,20 +1,17 @@ - - - - + + + <% title %> - + + + - - -
<% content %>
Search - +
File Descr @@ -33,5 +30,3 @@ - - diff --git a/views/port.tt b/views/port.tt index d487c02..c7439e8 100644 --- a/views/port.tt +++ b/views/port.tt @@ -91,7 +91,7 @@ on <% b.arch | html %>: <% END %> <%IF testdepends %> -

Test dependencies

+

Test dependencies