diff --git a/generate.pl b/generate.pl index 0dc7792..6b5b4c2 100755 --- a/generate.pl +++ b/generate.pl @@ -9,7 +9,6 @@ use LWP::UserAgent; use Storable qw(store retrieve); ## CONFIG -my $icons_per_line = 6; # how many icons to put per line my $debug_output = 0; # set to 1 to enable debug output ## END CONFIG # @@ -52,7 +51,6 @@ close $link_template_file; my $ua = LWP::UserAgent->new(); $ua->agent('Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0'); -my $link_counter = 0; foreach my $link(@{$links}) { if($link->{placeholder}) { print_file($newtab, 'template/link_placeholder.html'); @@ -95,11 +93,6 @@ foreach my $link(@{$links}) { debug("Printing $link->{title} link to newtab.html."); print $newtab $link_html; - - if(++$link_counter == $icons_per_line) { - print_file($newtab, 'template/link_line_separator.html'); - $link_counter = 0; - } } print_file($newtab, 'template/footer.html'); diff --git a/template/footer.html b/template/footer.html index 95c766e..cee801f 100644 --- a/template/footer.html +++ b/template/footer.html @@ -1,4 +1,3 @@ -
diff --git a/template/header.html b/template/header.html index af8f51b..b590b10 100644 --- a/template/header.html +++ b/template/header.html @@ -3,6 +3,7 @@ New Tab +