Compare commits
2 Commits
b5dfc04040
...
9f5a274711
Author | SHA1 | Date |
---|---|---|
Daylin Morgan | 9f5a274711 | |
Daylin Morgan | f5b3671757 |
|
@ -13,7 +13,7 @@ proc footerBar*(): VNode =
|
|||
packagesGitUrlBase & ctx.nimpkgs.packagesHash & "/packages.json".kstring,
|
||||
"nim-lang/packages:" & packagesAbbr
|
||||
)
|
||||
links.add ("http://github.com/daylinmorgan/nimpkgs".kstring, "source".kstring)
|
||||
links.add ("http://github.com/nimpkgs/website".kstring, "source".kstring)
|
||||
result = buildHtml(footer(class = "mt-auto md:mx-10 flex flex-col md:flex-row md:justify-between md:items-center mb-5")):
|
||||
if ctx.loaded:
|
||||
tdiv(class = "text-xs text-ctp-subtextzero px-1"):
|
||||
|
|
|
@ -31,7 +31,7 @@ proc selectRandomTags*(ctx: Context): seq[kstring] =
|
|||
for tag, cnt in tagCounts:
|
||||
if cnt > 3: tags.add tag
|
||||
|
||||
while result.len < 5:
|
||||
while result.len < 10:
|
||||
let tag = tags.sample()
|
||||
if tag notin result:
|
||||
result.add tag
|
||||
|
|
Loading…
Reference in New Issue