]> git.proxmox.com Git - pve-docs.git/commitdiff
asciidoc-pve.in: define revdate/revnumber for all backends
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Oct 2016 09:57:46 +0000 (11:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Oct 2016 09:57:46 +0000 (11:57 +0200)
asciidoc-pve.in

index ab23564385f1daf9167d896388350485082887c0..3f789761f002455e9df8458743da814e0f3f72f3 100644 (file)
@@ -268,6 +268,8 @@ sub compile_asciidoc {
     my $attributes = {
        $env => undef,
        leveloffset => $leveloffset,
+       revnumber => $release,
+       revdate => $date,
     };
 
     my $mansection = $fileinfo->{mansection}->{$env}->{$infile};
@@ -342,7 +344,6 @@ sub compile_asciidoc {
 
        $attributes->{icons} = undef;
        $attributes->{'data-uri'} = undef;
-       $attributes->{revnumber} = $release;
 
        my $cmd = ['asciidoc'];