forked from e621ng/e621ng
use only 1 copyright tag by default in humanized essential tag string
This commit is contained in:
parent
1cba439589
commit
9ddb9cd434
@ -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 != //
|
||||
|
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user