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 }}
|
2023-04-16 15:05:46 +02:00
|
|
|
Verdict:
|
|
|
|
<img src="/img/{{ $score }}.png" class="score" title="Score: {{ $score }}/5" />—<a href="/about/#rating" title="About the rating system"><strong>{{ partial "scorelabel" . }}</strong></a>.
|
2022-04-09 15:01:33 +02:00
|
|
|
{{ else }}
|
|
|
|
<span class="rating" style="display: none;">{{ $score }}</span>
|
2023-04-16 15:05:46 +02:00
|
|
|
<img src="/img/{{ $score }}.png" class="score" title="Score: {{ $score }}/5" />
|
2022-04-08 18:01:26 +02:00
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|