Move the nethack templates into nethack/ subdirectories of partial and shortcodes

This commit is contained in:
Eryn Wells 2022-04-17 10:12:34 -07:00
parent d1dfea9f97
commit 7f470262ec
4 changed files with 28 additions and 36 deletions

View file

@ -0,0 +1,10 @@
{{ $nethack_logfile := $.Site.Data.nethack.logfile.nutmeg }}
<ol class="logfile">
{{ range sort $nethack_logfile "end_date" "desc" }}
{{ if ne .death.cause "quit" }}
<li class="logentry">
{{ partial "nethack/logentry.html" .}}
</li>
{{ end }}
{{ end }}
</ol>