Update tags and images

This commit is contained in:
hahwul 2022-08-18 01:04:58 +09:00
parent f59af59f55
commit f08cdd7bd3
9 changed files with 9 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 B

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 998 B

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -23,10 +23,17 @@ def generate_badge array
badge = badge + "![zap](./images/zap.png)"
end
}
return badge
end
def generate_tags array
tags = ""
array.each { |t|
tags = tags + "`#{t}` "
}
return tags
end
template = %q{
<h1 align="center">
<br>
@ -98,6 +105,7 @@ Dir.entries("./weapons/").each do | name |
popularity = "![](https://img.shields.io/github/stars/#{split_result[1]})"
end
badge = generate_badge(data['platform'])
badge = generate_tags(data['tags'])
line = "|#{data['type']}|#{name}|#{data['description']}|#{badge}|#{popularity}|"
case data['category']
when 'tool'