- $header{content_type} = "text/html; charset=$sign{charset}";
-
-:><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-
-<head>
-<meta http-equiv="content-type" content="<:= $header{content_type} :>">
-<title>nethack cheat sheet</title>
-<meta name="description" content="Keyboard functionality overview sheet for the Nethack console RPG game.">
-<meta name="keywords" content="nethack, rogue, game, control, controls, sheet, reference, overview, keyboard">
-<:= stylesheet(qw'light dark circus mono red terse') :>
-<!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
-<!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
- our $showkeys = exists $get{keys} && $get{keys} ne '0';
- print "\n".'<style type="text/css"> .no {visibility:hidden} </style>'
- unless $showkeys;
- print "\n".'<style type="text/css"> .no, .alias {opacity:.5} </style>'
- if $showkeys and $get{keys} eq 'ghost';