Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
10
themes/platters/layouts/shortcodes/nethack/best_game.html
Normal file
10
themes/platters/layouts/shortcodes/nethack/best_game.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ $nethack_data := $.Site.Data.nethack.logfile }}
|
||||
{{ $logfile := slice }}
|
||||
{{ range $nethack_data }}
|
||||
{{ $logfile = $logfile | append .logfile }}
|
||||
{{ end }}
|
||||
<ol class="logfile">
|
||||
<li>
|
||||
{{ partial "nethack/logentry.html" (index (sort $logfile "score" "desc") 0) }}
|
||||
</li>
|
||||
</ol>
|
Loading…
Add table
Add a link
Reference in a new issue