2022-04-08 18:01:26 +02:00
|
|
|
{{ $simplescore := $.Scratch.Get "simplescore" }}
|
|
|
|
{{ if isset $.Params "score" }}
|
|
|
|
<p>
|
|
|
|
{{ $score := $.Params.score }}
|
2022-04-08 21:23:23 +02:00
|
|
|
{{ if not $simplescore }}
|
2022-04-09 15:01:33 +02:00
|
|
|
<strong>Verdict</strong>: <span class="rating">{{ $score }}</span>/5
|
|
|
|
{{ else }}
|
|
|
|
<span class="rating" style="display: none;">{{ $score }}</span>
|
2022-04-08 18:01:26 +02:00
|
|
|
{{ end }}
|
2022-11-01 09:41:58 +01:00
|
|
|
<img src="/img/{{ $score }}.png" class="score" title="Score: {{ $score }}/5" />{{ if not $simplescore }}—{{ partial "scorelabel" . }}.{{ end }}
|
2022-04-08 18:01:26 +02:00
|
|
|
</p>
|
|
|
|
{{ end }}
|