git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor code cosmetics (declare version first)
[sheet.git]
/
index.plp
diff --git
a/index.plp
b/index.plp
index b707e7ed378180a4bc029bc66540b928c32dc628..096a6b5f9549a6c151583091692bb76b233da33a 100644
(file)
--- a/
index.plp
+++ b/
index.plp
@@
-1,11
+1,5
@@
-<:
-use utf8;
-use strict;
-use warnings;
-
-our $VERSION = 'v1.0';
-
-$header{content_type} = "text/html; charset=utf-8";
+<(common.inc.plp)><:
+ our $VERSION = 'v1.0';
:><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
:><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
@@
-13,11
+7,10
@@
$header{content_type} = "text/html; charset=utf-8";
<head>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
<head>
<meta http-equiv="content-type" content="<:= $header{content_type} :>">
-<title>
vi cheat sheet
</title>
-<
link rel="stylesheet" type="text/css" media="all" href="base.css"
>
+<title>
cheat sheets
</title>
+<
:= stylesheet(qw'light dark') :
>
<style type="text/css">
ul {
<style type="text/css">
ul {
- text-align: center;
margin-bottom: 1ex;
}
</style>
margin-bottom: 1ex;
}
</style>