Update Nethack partials, shortcodes, and page to properly handle ascensions 😁
This commit is contained in:
parent
d1df92aa03
commit
42a71c1ac3
7 changed files with 59 additions and 36 deletions
3
layouts/shortcodes/nethack/ascensions.html
Normal file
3
layouts/shortcodes/nethack/ascensions.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{- $logfile := partial "nethack/log.html" . -}}
|
||||
{{- $numberOfAscensions := where $logfile "death.cause" "ascended" | len -}}
|
||||
{{- $numberOfAscensions | lang.FormatNumber 0 -}}
|
Loading…
Add table
Add a link
Reference in a new issue