14 lines
548 B
HTML
14 lines
548 B
HTML
{{ $simplescore := $.Scratch.Get "simplescore" }}
|
|
{{ if isset $.Params "score" }}
|
|
<p>
|
|
{{ $score := $.Params.score }}
|
|
{{ if not $simplescore }}
|
|
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>.
|
|
{{ else }}
|
|
<span class="rating" style="display: none;">{{ $score }}</span>
|
|
<img src="/img/{{ $score }}.png" class="score" title="Score: {{ $score }}/5" />
|
|
{{ end }}
|
|
</p>
|
|
{{ end }}
|