From: Benno Schulenberg Date: Wed, 5 May 2021 10:14:05 +0000 (+0200) Subject: put the tag inside the <head> section of each page X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5704db4e8bd94a75743976e1513c85c2387e87c2;p=nano-editor.git put the <title> tag inside the <head> section of each page Otherwise the pages are not well-formed HTML. Thanks to Peter Liscovius for suggesting how to do this in PHP. --- diff --git a/contact.php b/contact.php index 1d41c4b..1384449 100644 --- a/contact.php +++ b/contact.php @@ -1,6 +1,4 @@ -<?php include "top.php"; ?> - -<title>GNU nano: Reporting Bugs + diff --git a/docs.php b/docs.php index 40553d3..5e2a212 100644 --- a/docs.php +++ b/docs.php @@ -1,6 +1,4 @@ - - -GNU nano: Documentation +
diff --git a/download.php b/download.php index 0306cad..f6eaa83 100644 --- a/download.php +++ b/download.php @@ -1,8 +1,5 @@ - + -GNU nano: Download - -
diff --git a/git.php b/git.php index 524a937..160f29b 100644 --- a/git.php +++ b/git.php @@ -1,6 +1,4 @@ - - -GNU nano: Source code + diff --git a/history.php b/history.php index 5e8036a..ad76071 100644 --- a/history.php +++ b/history.php @@ -1,6 +1,4 @@ - - -GNU nano: History +
diff --git a/index.php b/index.php index 66ed376..bff9a4b 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,4 @@ - - -GNU nano +
diff --git a/news.php b/news.php index 4750ed3..f6cdbe2 100644 --- a/news.php +++ b/news.php @@ -1,6 +1,4 @@ - - -GNU nano: News +
diff --git a/screenshots.php b/screenshots.php index 684b8f3..e019316 100644 --- a/screenshots.php +++ b/screenshots.php @@ -1,6 +1,4 @@ - - -GNU nano: Screenshots +
diff --git a/top.php b/top.php index 87c4ff1..e659035 100644 --- a/top.php +++ b/top.php @@ -3,6 +3,7 @@ + <?= $title ?> diff --git a/who.php b/who.php index 79738bc..588e46c 100644 --- a/who.php +++ b/who.php @@ -1,6 +1,4 @@ - - -GNU nano: Who's who +