Move the nethack templates into nethack/ subdirectories of partial and shortcodes
This commit is contained in:
parent
d1dfea9f97
commit
7f470262ec
4 changed files with 28 additions and 36 deletions
10
layouts/shortcodes/nethack/logfile.html
Normal file
10
layouts/shortcodes/nethack/logfile.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue