common: drop leading 'v' in version numbers
[sheet.git] / common.inc.plp
index cabdc90923da2f1715a72175d79edea21c947cc2..54356fb42adfd24cab478beba319ee4adc794291 100644 (file)
@@ -109,6 +109,7 @@ sub Html {
 <title>$meta->{title}</title>
 <meta name="description" content="$meta->{description}">
 <meta name="keywords" content="$meta->{keywords}">
 <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} || ();
 <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',
                'opacity: .5',
                'border: 1ex solid red',
                'border-width: 1ex 0',
+               'z-index: 1',
+               'background: inherit',
        ) if $ENV{HTTP_HOST} =~ /\bdev\./;
 
        # prepare trailing output
        ) if $ENV{HTTP_HOST} =~ /\bdev\./;
 
        # prepare trailing output
@@ -131,7 +134,7 @@ EOT
        <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"
        <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"
-        rel="vcs-git" title="Git repository">$meta->{version}</a>
+        rel="vcs-git" title="Git repository">v$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"
         title="Licensed under the GNU Affero General Public License, version 3">AGPLv3</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"
         title="Licensed under the GNU Affero General Public License, version 3">AGPLv3</a>