add link to repository for *.conf files
[sysadmin-cookbook-html] / bin / html.pl
index 0b0d8e2..701838d 100755 (executable)
@@ -43,7 +43,7 @@ sub file {
        $path =~ s{^$recepies/*(.*?[^/]+)$}{$1} || next;
        return ''
                . qq|<ul class=changes>$changes</ul>|
-               . ( $path =~ m{(\.sh|Makefile)$}i ? qq|<a class="path" href="$svn/view/recepies/$path">$path</a>| : '' )
+               . ( $path =~ m{(\.sh|Makefile|\.conf)$}i ? qq|<a class="path" href="$svn/view/recepies/$path">$path</a>| : '' )
                . qq|<pre class=content>$content</pre>|
                ;
 }