diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2016-02-21 23:15:24 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2016-02-21 23:15:24 -0300 |
commit | 5a7569fe91f6b442ef5f50dc3f82764eca2aa39c (patch) | |
tree | 5f24019422ff9ba8610880a7a22ad92453de2b76 /ssg | |
parent | 3180fbb3712c454c50df4f5f7713fcbff73a7546 (diff) | |
download | ssg-5a7569fe91f6b442ef5f50dc3f82764eca2aa39c.tar.gz |
Add a slash before the directories.
Diffstat (limited to 'ssg')
-rwxr-xr-x | ssg | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,6 +97,8 @@ sub generate_link { my $str = $file->basename; $str =~ s/\.md$//g; + $str = "$str/" if $file->is_dir(); + # Higlight? my $hl = ""; if($options->{hl} eq 1) { |