summaryrefslogtreecommitdiff
path: root/themes/flog/layouts/partials/listing.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/flog/layouts/partials/listing.html')
-rw-r--r--themes/flog/layouts/partials/listing.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/themes/flog/layouts/partials/listing.html b/themes/flog/layouts/partials/listing.html
index 44849bd..58c7697 100644
--- a/themes/flog/layouts/partials/listing.html
+++ b/themes/flog/layouts/partials/listing.html
@@ -20,7 +20,19 @@
</div>
</section>
<div class="card-action">
- <a href="{{ .RelPermalink }}">Weiterlesen…</a>
+ <a href="{{ .RelPermalink }}">
+ Weiterlesen…
+ {{ if .Params.rating }}
+ <i class="material-icons right">
+ {{ range seq .Params.rating }}
+ star
+ {{ end }}
+ {{ range seq (sub 5 (int .Params.rating)) }}
+ star_border
+ {{ end }}
+ </i>
+ {{ end }}
+ </a>
</div>
</div>
</article>