Skip to content

Latest commit

 

History

History
132 lines (124 loc) · 5.75 KB

videos.md

File metadata and controls

132 lines (124 loc) · 5.75 KB
layout title description keywords permalink
default
Videos
A collection of memes created by the community.
memes, rocket, pool, rpl, crypto
/videos/

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

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

Rocket Pool Videos

A collection of videos created by the community.

Total Videos: {{fileArray.size}}

View Random

Did we miss one? Submit here

{%- for video in site.data.resources | where: -%} {%- assign description = video.description | downcase -%} {%- if video.categories contains 'video' and video.categories contains "entertainment" and description contains "meme" and video.link contains "watch?v=" -%}
{%- assign video_link = video.link | replace: "watch?v=", "embed/" -%} <iframe width="190" height="192" src="{{video_link}}" title="YouTube video player" frameborder="0" scrolling="no" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
{%- endif -%} {%- endfor -%} {%- 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: "-", " " -%}

{{date_readable}}

{{user}}

{%- endfor -%}

Date:

By:

Close