From e268f8cc29eb27b2f0b4034653e1c6b60600ff1f Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 21 Aug 2016 19:17:03 +0200 Subject: fix (remove) half stars --- layouts/shortcodes/rate.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/shortcodes/rate.html') diff --git a/layouts/shortcodes/rate.html b/layouts/shortcodes/rate.html index bdce5b7..130b28e 100644 --- a/layouts/shortcodes/rate.html +++ b/layouts/shortcodes/rate.html @@ -3,7 +3,7 @@ star {{ end }} {{ $len := 5 }} -{{ if and (.Get 1) (eq "halb" (.Get 1)) }}{{ $len := 4 }}{{ end }} +{{/* handle halves here */}} {{ if eq 4 $len }} star_half {{ end }} -- cgit v1.3.1