From 6fcef93f580f9f47172cdfee5453f5021bc8e88b Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 8 Nov 2016 10:16:25 +0100 Subject: map shortcode -> theme --- layouts/shortcodes/rate.html | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 layouts/shortcodes/rate.html (limited to 'layouts/shortcodes/rate.html') diff --git a/layouts/shortcodes/rate.html b/layouts/shortcodes/rate.html deleted file mode 100644 index 130b28e..0000000 --- a/layouts/shortcodes/rate.html +++ /dev/null @@ -1,13 +0,0 @@ - -{{ range seq (.Get 0) }} -star -{{ end }} -{{ $len := 5 }} -{{/* handle halves here */}} -{{ if eq 4 $len }} -star_half -{{ end }} -{{ range seq (sub $len (int (.Get 0))) }} -star_border -{{ end }} - -- cgit v1.3.1