--- layout: master --- {%- assign skin_posts = page.user_id | author_skins -%} {%- assign standard = skin_posts | count_mode: "standard" -%} {%- assign taiko = skin_posts | count_mode: "taiko" -%} {%- assign catch = skin_posts | count_mode: "catch" -%} {%- assign mania = skin_posts | count_mode: "mania" -%}
{%- include user.html user=page type="osu" show_roles="all" size="regular" -%}
{%- if skin_posts.size > 0 -%} Latest: {{ skin_posts[0].date | date_to_long_string: "ordinal" }} {%- if skin_posts.size > 1 -%} {%- assign lastIndex = skin_posts.size | minus: 1 -%} Oldest: {{ skin_posts[lastIndex].date | date_to_long_string: "ordinal" }} {%- endif -%} {%- endif -%}
{%- include icons/document-solid.svg -%} {{ skin_posts.size }}
{%- if standard > 0 -%} {%- include icons/standard.svg -%} {{ standard }} {%- endif -%} {%- if taiko > 0 -%} {%- include icons/taiko.svg -%} {{ taiko }} {%- endif -%} {%- if mania > 0 -%} {%- include icons/mania.svg -%} {{ mania }} {%- endif -%} {%- if catch > 0 -%} {%- include icons/catch.svg -%} {{ catch }} {%- endif -%}
{%- for post in skin_posts -%} {%- include skin-item.html post=post -%} {%- endfor -%}