Skip to content

Latest commit

 

History

History
executable file
·
127 lines (119 loc) · 5.31 KB

memes.md

File metadata and controls

executable file
·
127 lines (119 loc) · 5.31 KB
layout title description keywords permalink
default
Memes
A collection of memes created by the community.
memes, rocket, pool, rpl, crypto
/memes/

{%- assign fileArray = "" | split: "," -%} {%- for image in site.static_files -%} {%- if image.path contains 'img/memes' or image.path contains 'img/memes/videos' -%} {%- assign fileArray = fileArray | push: image -%} {%- endif -%} {%- endfor -%} {%- assign fileArray = fileArray | reverse -%}

<script type="text/javascript"> const fileArray = {{fileArray | jsonify}}; </script>

Rocket Pool Memes

A collection of memes created by the community.

Total Memes: {{fileArray.size}}

Leaderboard View Random

Did we miss one? Submit here

{%- assign months = site.data.months -%} {%- assign files_by_title = fileArray | sort_natural: "basename" | reverse -%} {%- for file in files_by_title -%} {%- assign pathSplit = file.basename -%} {%- assign filename = pathSplit | split: "--" -%} {%- assign date = filename[0] -%} {%- assign date_split = date | split: "-" -%} {%- assign date_year = date_split[0] | split: "--" -%} {%- capture date_month_num -%}{{date_split[1] | split: "--"}}{%- endcapture -%} {%- assign date_month_data = months | where: "month_num", date_month_num -%} {%- capture date_month -%}{%- for month in date_month_data -%}{{ month.name_short }}{%- endfor -%}{%- endcapture -%} {%- assign date_day = date_split[2] | split: "--" -%} {%- capture date_readable -%}{{ date_day }}-{{ date_month }}-{{ date_year }}{%- endcapture -%} {%- assign user = filename[1] | replace: "-", " " -%}
{%- if file.extname == ".mp4" -%} {%- else -%} {%- endif -%}

{{date_readable}}

{{user}}

{%- endfor -%}

Date:

By:

Random Close