Browse Source

Preload a static list of top tags on home page

master
Perception 3 months ago
parent
commit
5cb84a8737
2 changed files with 243 additions and 1 deletions
  1. +1
    -1
      routes/index.js
  2. +242
    -0
      top-tags.json

+ 1
- 1
routes/index.js View File

@ -8,7 +8,7 @@ const db = ds.db()
module.exports.GET = async (req, res) => {
const years = await ds.getYears()
const categories = await ds.getCategories(db)
const tags = await ds.getTagCloud(db, 60)
const tags = require('../top-tags')
const out = await page.render('index', { years, categories, tags })
send(res, 200, out)
}

+ 242
- 0
top-tags.json View File

@ -0,0 +1,242 @@
[
{
"c": 4454,
"name": "jewish problem"
},
{
"c": 3841,
"name": "donald trump"
},
{
"c": 3570,
"name": "immigration"
},
{
"c": 3224,
"name": "invasion"
},
{
"c": 3199,
"name": "black crime"
},
{
"c": 2778,
"name": "black people"
},
{
"c": 2568,
"name": "uk"
},
{
"c": 2282,
"name": "migrant crisis"
},
{
"c": 2275,
"name": "race war"
},
{
"c": 2252,
"name": "white victims of black crimes"
},
{
"c": 2181,
"name": "islam"
},
{
"c": 2154,
"name": "moslems"
},
{
"c": 1990,
"name": "us"
},
{
"c": 1984,
"name": "blacks"
},
{
"c": 1839,
"name": "germany"
},
{
"c": 1774,
"name": "jews"
},
{
"c": 1709,
"name": "russia"
},
{
"c": 1642,
"name": "israel"
},
{
"c": 1530,
"name": "black on white crime"
},
{
"c": 1423,
"name": "crime"
},
{
"c": 1317,
"name": "niggers"
},
{
"c": 1298,
"name": "coronavirus"
},
{
"c": 1257,
"name": "2016 election"
},
{
"c": 1245,
"name": "feminism"
},
{
"c": 1181,
"name": "france"
},
{
"c": 1002,
"name": "women"
},
{
"c": 968,
"name": "black on white"
},
{
"c": 959,
"name": "terrorism"
},
{
"c": 902,
"name": "sweden"
},
{
"c": 856,
"name": "murder"
},
{
"c": 825,
"name": "2020 election"
},
{
"c": 818,
"name": "united kingdom"
},
{
"c": 792,
"name": "faggotry"
},
{
"c": 786,
"name": "syria"
},
{
"c": 782,
"name": "diversity"
},
{
"c": 737,
"name": "rape"
},
{
"c": 715,
"name": "hajis"
},
{
"c": 630,
"name": "racism"
},
{
"c": 620,
"name": "china"
},
{
"c": 619,
"name": "eu"
},
{
"c": 614,
"name": "andrew anglin"
},
{
"c": 608,
"name": "noprint"
},
{
"c": 608,
"name": "isis"
},
{
"c": 608,
"name": "white genocide"
},
{
"c": 591,
"name": "britain"
},
{
"c": 568,
"name": "italy"
},
{
"c": 540,
"name": "holocaust"
},
{
"c": 514,
"name": "faggots"
},
{
"c": 511,
"name": "holohoax"
},
{
"c": 487,
"name": "africa"
},
{
"c": 486,
"name": "sven longshanks"
},
{
"c": 476,
"name": "hillary clinton"
},
{
"c": 476,
"name": "daily stormer"
},
{
"c": 463,
"name": "censorship"
},
{
"c": 445,
"name": "black lives matter"
},
{
"c": 442,
"name": "canada"
},
{
"c": 434,
"name": "twitter"
},
{
"c": 422,
"name": "antifa"
},
{
"c": 422,
"name": "hollywood"
},
{
"c": 421,
"name": "black killers"
}
]

Loading…
Cancel
Save