commit 1c9d8aba5da6892d586da5f1c28faea6f3b59f6b
parent 2d48dc4f1810ed0b31d47abd4acc6b38537fbd72
Author: Nils Gillmann <ng0@n0.is>
Date: Mon, 8 Oct 2018 16:48:14 +0000
templates: use html5, intend correctly.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat:
| M | _template_.html | | | 159 | ++++++++++++++++++++++++++++++++++++++++++------------------------------------- |
| M | _template_bibtex.html | | | 57 | ++++++++++++++++++++++++++++++++++++--------------------- |
2 files changed, 121 insertions(+), 95 deletions(-)
diff --git a/_template_.html b/_template_.html
@@ -1,79 +1,90 @@
-<?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta http-equiv="Content-Style-Type" content="text/css" />
-
-<!-- *** I AM MACHINE GENERATED! DO NOT EDIT ME!
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>%(title)s</title>
+ <link rel="stylesheet" href="%(root)s/css/main.css">
+ <link rel="stylesheet" href="%(root)s/css/pubs.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ </head>
+<!--
+ *** I AM MACHINE GENERATED! DO NOT EDIT ME!
*** EDIT THE .bib FILE or _template_.html INSTEAD!
Generated by `%(command_line)s'
- (c) Eddie Kohler 1999-2000, Nick Mathewson 2003 -->
-
-<!-- anon bib anonymity bibliography -->
-<title>%(title)s</title>
-
-<link rel="stylesheet" type="text/css" href="%(root)s/css/main.css" />
-<link rel="stylesheet" type="text/css" href="%(root)s/css/pubs.css" />
-
-</head>
-<body bgcolor="#ffffff" text="#000000" link="#bb0000" vlink="#990099"
-alink="#ff9900" >
-
-<h1 align="center">%(short_title)s</h1>
-<p align="center">%(otherbibs)s</p>
-<p align="center">%(choices)s</p>
-
-<!-- Table 1: contains the sidebar and the body. -->
-<table cellspacing="3" cellpadding="0" border="0" align="center" width="100%%">
-<tr valign="top">
-<td>
-
-<!-- Table 2: The sidebar-->
-<table align="right" cellspacing="0" cellpadding="5" width="100"
- class="sidebar">
-<tr valign="top"><td><p class="l1"><strong>%(sectiontypes)s:</strong><br /></p>
-%(sections)s
-</td>
-</tr>
-</table><!-- End of table 2 -->
-</td>
-
-<td width="85%%">
-
-<h2>Publications by %(field)s</h2>
-
-<ul class="sections">
-%(entries)s
-</ul>
-
-</td>
-
-<td width="5%%"><br /></td>
-
-</tr>
-</table><!-- End of table 1 -->
-
-
-<p class="contact">Please send new or corrected entries to
-<a name="contact">
-<span class="email"><gnunet-developers@gn<!-- -->u.org></span></a>.
-<br />
-If you can, please format them as BibTeX; see our
-<a href="bibtex.html">BibTeX source page</a> for examples.<br />
-<br />
-Remember to include URLs if possible:
-<a href="http://citeseer.ist.psu.edu/online-nature01/">offline papers are
-less useful</a>.
-</p>
-<p>The source code to gnunetbib is in Git. See <a href="https://gnunet.org.org/git/gnunetbib.git">the gnunetbib cgit page</a> for more information.
-</p>
-<p>When submitting, please try to match the format of our entries in
- gnunetbib.bib. Our tools do not work on arbitrary bibtex, and hand-cleaning
- entries can significantly delay us.
-</p>
-
+ (C) Eddie Kohler 1999-2000, Nick Mathewson 2003
+ (C) Nils Gillmann 2018
+-->
+
+<!-- gnunet bib meshnetworking bibliography -->
+<body bgcolor="#ffffff" text="#000000" link="#bb0000" vlink="#990099" alink="#ff9900" >
+
+ <h1 align="center">%(short_title)s</h1>
+ <p align="center">
+ %(otherbibs)s
+ </p>
+ <p align="center">
+ %(choices)s
+ </p>
+ <hr>
+
+ <!-- Table 1: contains the sidebar and the body. -->
+ <table cellspacing="3" cellpadding="0" border="0" align="center" width="100%%">
+ <tr valign="top">
+ <td>
+ <!-- Table 2: The sidebar-->
+ <table align="right" cellspacing="0" cellpadding="5" width="100" class="sidebar">
+ <tr valign="top">
+ <td>
+ <p class="l1">
+ <strong>%(sectiontypes)s:</strong><br />
+ </p>
+ %(sections)s
+ <br>
+ <a href="#">Go to top</a>
+ </td>
+ </tr>
+ </table><!-- End of table 2 -->
+ </td>
+ <td width="85%%">
+ <h2>Publications by %(field)s</h2>
+
+ <ul class="sections">
+ %(entries)s
+ </ul>
+ <br>
+ <a href="#">Go to top</a>
+
+ </td>
+
+ <td width="5%%"><br /></td>
+
+ </tr>
+ </table><!-- End of table 1 -->
+
+
+ <hr>
+ <p class="contact">
+ Please send new or corrected entries to
+ <a name="contact">
+ <span class="email"><gnunet-developers@gn<!-- -->u.org></span>
+ </a>.
+ <br />
+ If you can, please format them as BibTeX; see our
+ <a href="bibtex.html">BibTeX source page</a> for examples.<br />
+ <br />
+ Remember to include URLs if possible:
+ <a href="http://citeseer.ist.psu.edu/online-nature01/">offline papers are less useful</a>.
+ </p>
+ <p>
+ The source code to gnunetbib is in Git. See
+ <a href="https://gnunet.org.org/git/gnunetbib.git">the gnunetbib cgit page</a>
+ for more information.
+ </p>
+ <p>
+ When submitting, please try to match the format of our entries in
+ gnunetbib.bib. Our tools do not work on arbitrary bibtex, and
+ hand-cleaning entries can significantly delay us.
+ </p>
</body>
</html>
diff --git a/_template_bibtex.html b/_template_bibtex.html
@@ -1,28 +1,43 @@
-<?xml version="1.0"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<meta http-equiv="Content-Style-Type" content="text/css" />
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
-<!-- *** I AM MACHINE GENERATED! DO NOT EDIT ME!
- *** EDIT THE .bib FILE or _template_.html INSTEAD!
+ <title>%(title)s: BibTeX</title>
- Generated by `%(command_line)s'
- (c) Eddie Kohler 1999-2000, Nick Mathewson 2003 -->
+ <link rel="stylesheet" href="%(root)s/css/main.css">
+ <link rel="stylesheet" href="%(root)s/css/pubs.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-<title>%(title)s: BibTeX</title>
+ </head>
+ <!--
+ *** I AM MACHINE GENERATED! DO NOT EDIT ME!
+ *** EDIT THE .bib FILE or _template_.html INSTEAD!
-<link rel="stylesheet" type="text/css" href="%(root)s/css/main.css" />
-<link rel="stylesheet" type="text/css" href="%(root)s/css/pubs.css" />
+ Generated by `%(command_line)s'
+ (C) Eddie Kohler 1999-2000, Nick Mathewson 2003
+ (C) Nils Gillmann 2018
+ -->
-</head>
-<body bgcolor="#ffffff" text="#000000" link="#bb0000" vlink="#990099"
- alink="#ff9900" >
-<table cellspacing="15" border="0" align="center" width="100%%">
-%(entries)s
-</table>
-</body>
+ <body bgcolor="#ffffff" text="#000000" link="#bb0000" vlink="#990099" alink="#ff9900" >
+ <h1 align="center">%(title)s: BibTeX</h1>
+ <p align="center">
+ The GNUnet Bibliography | BibTeX records
+ </p>
+ <p align="center">
+ <a href='./topic.html'>By topic</a> |
+ <a href='./date.html'>By date</a> |
+ <a href='./author.html'>By author</a>
+ </p>
+ <hr>
+ <table cellspacing="15" border="0" align="center" width="100%%">
+ %(entries)s
+ </table>
+ <hr>
+ <p>
+ <br>
+ <a href="#">Go to top</a>
+ </p>
+ </body>
</html>