aboutsummaryrefslogtreecommitdiff
path: root/ssg
diff options
context:
space:
mode:
Diffstat (limited to 'ssg')
-rwxr-xr-xssg2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssg b/ssg
index 8509b7b..a81678c 100755
--- a/ssg
+++ b/ssg
@@ -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) {