Re-do a bunch of the styles for the Nethack page
This commit is contained in:
parent
9e11021ae3
commit
5606feeca1
6 changed files with 38 additions and 28 deletions
|
@ -9,10 +9,12 @@
|
|||
She was {{ .death.cause }}.</p>
|
||||
<table class="stats">
|
||||
<tr>
|
||||
<td class="began">Began {{ time.Format "January 2, 2006" .start_date }}</td>
|
||||
{{- $startDate := time.Format "January, 02 2006" .start_date -}}
|
||||
{{- $startDatetime := time.Format "2006-01-02" .start_date -}}
|
||||
<td class="began">Began <time class="nobreak" datetime="{{ $startDatetime }}">{{ $startDate }}</time></td>
|
||||
<td class="score">{{ .score | lang.FormatNumber 0 }} points</td>
|
||||
<td class="level">Level {{ .character.max_level }}</td>
|
||||
<td class="hp">{{ cond (gt .character.hp.n 0) (printf "%s / %s" .character.hp.n .character.hp.max)
|
||||
.character.hp.max }} hp</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue