diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:17:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:17:03 +0200 |
| commit | e268f8cc29eb27b2f0b4034653e1c6b60600ff1f (patch) | |
| tree | 80cc672ddde6933bb33d09ea591cfc806d716da1 /layouts/shortcodes/rate.html | |
| parent | d23f26c2496bc1b0002ae6ba687bc065c270e1df (diff) | |
| download | pragblog-e268f8cc29eb27b2f0b4034653e1c6b60600ff1f.tar.gz pragblog-e268f8cc29eb27b2f0b4034653e1c6b60600ff1f.zip | |
fix (remove) half stars
Diffstat (limited to 'layouts/shortcodes/rate.html')
| -rw-r--r-- | layouts/shortcodes/rate.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} |
