{%-assign posts = include.collection -%} {%- if posts.size > 0 -%} {%- assign ymPre = "" -%} {%- assign archive_date_format = site.theme_config.archive_date_format | default: "%Y" -%} {%- assign archive_date_titleformat = site.theme_config.archive_title_date_format | default: "%m-%d" -%} {%- assign yCounter = 0 -%} {%- assign lock_path = site.theme_config.lock_path -%} {%- assign lock_char = site.theme_config.lock_char | default: "🔑" -%} {%- endif -%} {%- if yCounter == 0 -%}
  • {{ymCur}}
  • {%- else -%}
  • {{ymCur}}
  • {%- endif -%} {%- assign yCounter = yCounter | plus:1 -%} {%- endif -%}