common: bump version to 1.9
[sheet.git] / common.inc.plp
index cabdc90923da2f1715a72175d79edea21c947cc2..fa0e14f62f5ee11308b5f537b93071f2f159a912 100644 (file)
@@ -41,7 +41,7 @@ sub stylesheet {
 
        return join "\n", map { sprintf(
                '<link rel="%s" type="text/css" media="all" href="%s" title="%s">',
-               $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.7", $_
+               $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "/$_.css?1.9", $_
        ) } @_;
 }
 
@@ -109,6 +109,7 @@ sub Html {
 <title>$meta->{title}</title>
 <meta name="description" content="$meta->{description}">
 <meta name="keywords" content="$meta->{keywords}">
+<meta name="viewport" content="width=device-width, initial-scale=1">
 <link rel="icon" type="image/png" href="/clip.png">
 EOT
        print $_, "\n" for $meta->{stylesheet} || ();
@@ -122,6 +123,8 @@ EOT
                'opacity: .5',
                'border: 1ex solid red',
                'border-width: 1ex 0',
+               'z-index: 1',
+               'background: inherit',
        ) if $ENV{HTTP_HOST} =~ /\bdev\./;
 
        # prepare trailing output
@@ -130,7 +133,7 @@ EOT
 <p class="footer">
        <a href="/" rel="start">sheet.shiar.nl</a>/$file.<a href="/source/$file.plp"
         rel="source" title="Written in Perl">plp</a>
-       <a href="http://git.shiar.nl/sheet.git/history/HEAD:/$file.plp"
+       version <a href="http://git.shiar.nl/sheet.git/history/HEAD:/$file.plp"
         rel="vcs-git" title="Git repository">$meta->{version}</a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
        <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="license copyright"