From: Michael D. Lowis Date: Tue, 16 Jun 2020 10:57:18 +0000 (-0400) Subject: added tag count to the datalist entries X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=93cf9ffed891516f566c1b0a4a22ab8ea3464a20;p=projs%2Fawiki.git added tag count to the datalist entries --- 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