use only 1 copyright tag by default in humanized essential tag string

This commit is contained in:
Albert Yi 2018-11-05 14:34:07 -08:00
parent 1cba439589
commit 9ddb9cd434
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class TagSetPresenter < Presenter
next if type_tags.empty?
if max_tags > 0 && type_tags.length > max_tags
type_tags = type_tags.take(max_tags) + ["others"]
type_tags = type_tags.sort_by {|x| -x.size}.take(max_tags) + ["etc"]
end
if regexmap != //

View File

@ -341,7 +341,7 @@ module Danbooru
"extra" => ["co"],
"header" => %{<h2 class="copyright-tag-list">Copyrights</h2>},
"humanized" => {
"slice" => 5,
"slice" => 1,
"exclusion" => [],
"regexmap" => //,
"formatstr" => "(%s)"