config/danbooru_default_config.rb
#Full tag configuration info for all tags
Full tag configuration info for all tags
Full tag configuration info for all tags
def full_tag_config_info
      @full_tag_category_mapping ||= {
        "general" => {
          "category" => 0,
          "short" => "gen",
          "extra" => [],
          "header" => %{<h1 class="general-tag-list">Tags</h1>},
          "relatedbutton" => "General",
          "css" => {
            "color" => "var(--general-tag-color)",
            "hover" => "var(--general-tag-hover-color)"
          }
        },
        "character" => {
          "category" => 4,
          "short" => "char",
          "extra" => ["ch"],
          "header" => %{<h2 class="character-tag-list">Characters</h2>},
          "relatedbutton" => "Characters",
          "css" => {
            "color" => "var(--character-tag-color)",
            "hover" => "var(--character-tag-hover-color)"
          }
        },
        "copyright" => {
          "category" => 3,
          "short" => "copy",
          "extra" => ["co"],
          "header" => %{<h2 class="copyright-tag-list">Copyrights</h2>},
          "relatedbutton" => "Copyrights",
          "css" => {
            "color" => "var(--copyright-tag-color)",
            "hover" => "var(--copyright-tag-hover-color)"
          }
        },
        "artist" => {
          "category" => 1,
          "short" => "art",
          "extra" => [],
          "header" => %{<h2 class="artist-tag-list">Artists</h2>},
          "relatedbutton" => "Artists",
          "css" => {
            "color" => "var(--artist-tag-color)",
            "hover" => "var(--artist-tag-hover-color)"
          }
        },
        "meta" => {
          "category" => 5,
          "short" => "meta",
          "extra" => [],
          "header" => %{<h2 class="meta-tag-list">Meta</h2>},
          "relatedbutton" => nil,
          "css" => {
            "color" => "var(--meta-tag-color)",
            "hover" => "var(--meta-tag-hover-color)"
          }
        }
      }
    end
def full_tag_config_info @full_tag_category_mapping ||= { "general" => { "category" => 0 , "short" => "gen" , "extra" => [ ] , "header" => %{<h1 class="general-tag-list">Tags</h1>} , "relatedbutton" => "General" , "css" => { "color" => "var(--general-tag-color)" , "hover" => "var(--general-tag-hover-color)" } } , "character" => { "category" => 4 , "short" => "char" , "extra" => [ "ch" ] , "header" => %{<h2 class="character-tag-list">Characters</h2>} , "relatedbutton" => "Characters" , "css" => { "color" => "var(--character-tag-color)" , "hover" => "var(--character-tag-hover-color)" } } , "copyright" => { "category" => 3 , "short" => "copy" , "extra" => [ "co" ] , "header" => %{<h2 class="copyright-tag-list">Copyrights</h2>} , "relatedbutton" => "Copyrights" , "css" => { "color" => "var(--copyright-tag-color)" , "hover" => "var(--copyright-tag-hover-color)" } } , "artist" => { "category" => 1 , "short" => "art" , "extra" => [ ] , "header" => %{<h2 class="artist-tag-list">Artists</h2>} , "relatedbutton" => "Artists" , "css" => { "color" => "var(--artist-tag-color)" , "hover" => "var(--artist-tag-hover-color)" } } , "meta" => { "category" => 5 , "short" => "meta" , "extra" => [ ] , "header" => %{<h2 class="meta-tag-list">Meta</h2>} , "relatedbutton" => nil , "css" => { "color" => "var(--meta-tag-color)" , "hover" => "var(--meta-tag-hover-color)" } } } end
Full tag configuration info for all tags
Full tag configuration info for all tags