add a <meta> description tag in the <head> section of the main page
[nano-editor.git] / top.php
... / ...
CommitLineData
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3
4<head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <title><?= $title ?></title>
7 <?php if (isset($mainpage)): ?>
8 <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
9 <?php endif; ?>
10 <link rel="icon" href="/favicon.ico">
11 <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)"/>
12 <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"/>
13</head>
14
15<body>
16
17<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
18<tr><td>
19
20<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
21<tr>
22
23<td>
24&nbsp;Latest version:
25<?php include "last-version"; ?>
26&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
27</td>
28
29<td align="center">
30<a href="/">The GNU nano homepage</a>
31</td>
32
33<td align="right">
34Modified:
35<?php include "last-modified"; ?>
36&nbsp;
37</td>
38
39</tr>
40</table>
41
42</td></tr>
43</table>