forked from MarseyWorld/MarseyWorld
duwiuishsuehgdz
parent
0ca9bd0bc8
commit
5f411542cb
|
@ -193,9 +193,10 @@
|
||||||
<script src="/assets/js/sparkle.min.js" type="text/javascript"></script>
|
<script src="/assets/js/sparkle.min.js" type="text/javascript"></script>
|
||||||
|
|
||||||
{% if p.award_count("gold") %}
|
{% if p.award_count("gold") %}
|
||||||
|
{% set sparkles = 10*p.award_count("gold") if p.award_count("gold") <= 5 else 50 %}
|
||||||
<script>
|
<script>
|
||||||
document.querySelector("body").sparkle({
|
document.querySelector("body").sparkle({
|
||||||
count: 15,
|
count: {{ sparkles }},
|
||||||
minAge: 500,
|
minAge: 500,
|
||||||
maxAge: 1000,
|
maxAge: 1000,
|
||||||
starsource: `
|
starsource: `
|
||||||
|
|
Loading…
Reference in New Issue