From 93cf9ffed891516f566c1b0a4a22ab8ea3464a20 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 16 Jun 2020 06:57:18 -0400 Subject: [PATCH] added tag count to the datalist entries --- awiki.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/awiki.rb b/awiki.rb index a44f89f..b58ef9c 100755 --- a/awiki.rb +++ b/awiki.rb @@ -182,15 +182,19 @@ def gensitemap() f.puts "" f.puts "

" f.puts "" f.puts "\n\n

#{SEARCH_SCRIPT}

" - f.puts "

" - tags.sort.uniq.each {|t| f.puts "

" + tags.to_a.sort_by{|e| e[0] }.each {|t| + f.puts "" } f.puts "

" end end @@ -295,4 +299,4 @@ if ARGV.length > 0 then $server.start end -#pp $db \ No newline at end of file +#pp $db -- 2.51.0