Class names are CamelCase
.
Methods and variables are snake_case
.
Methods with a ?
suffix will return a boolean.
{% for post in site.posts %} | |
{% capture current_year %} | |
{{post.date | date: "%Y"}} | |
{% endcapture %} | |
{% if current_year != previous_year %} | |
{% assign previous_year = current_year %} | |
<h4 class="post-header"> | |
<span role="img" aria-label="icon-book" aria-hidden="true">🎉</span> | |
{{ current_year }} | |
</h4> |
border: no | |
license: MIT |