File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,12 @@ sub footer-html($pod-path) is export {
19
19
my $ footer = slurp ' template/footer.html' ;
20
20
$ footer . subst-mutate(/DATETIME /, ~ DateTime . now);
21
21
my $ pod-url ;
22
+ my $ gh-link = q [ <a href='https://github.com/perl6/doc'>perl6/doc on GitHub</a> ] ;
22
23
if $ pod-path eq " unknown" {
23
- $ pod-url = " the sources at <a href='https://github.com/perl6/doc'>perl6/doc on GitHub</a> " ;
24
+ $ pod-url = " the sources at $ gh-link " ;
24
25
}
25
26
else {
26
- $ pod-url = " <a href='https://github.com/perl6/doc/raw/master/lib/$ pod-path '>$ pod-path \</a\>" ;
27
+ $ pod-url = " <a href='https://github.com/perl6/doc/raw/master/lib/$ pod-path '>$ pod-path \</a\> from $ gh-link " ;
27
28
}
28
29
$ footer . subst-mutate(/SOURCEURL /, $ pod-url );
29
30
You can’t perform that action at this time.
0 commit comments