Skip to content

Commit

Permalink
Update layout.njk
Browse files Browse the repository at this point in the history
  • Loading branch information
andreubotella authored Feb 19, 2024
1 parent 199a600 commit 26c8c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{% endfor %}
<script>
function themeForCounter(counter) {
if (counter % 10 === 0) {
if (counter !== 0 && counter % 10 === 0) {
return "gradient";
} else if (counter % 2 === 1) {
return "dark";
Expand Down Expand Up @@ -75,4 +75,4 @@
{{ content | safe }}
</div>
</body>
</html>
</html>

0 comments on commit 26c8c16

Please sign in to comment.