Skip to content

Latest commit

 

History

History
80 lines (75 loc) · 4.12 KB

index.md

File metadata and controls

80 lines (75 loc) · 4.12 KB
layout
default

ETHFUD

Setting the facts straight.

All True Falsy FUD
{%- assign claimArray = "" | split: "," -%} {%- for claim in site.pages -%} {%- if claim.path contains 'claims/' -%} {%- assign validity_status = "falsy" -%} {%- assign validity_color = 'warning' -%} {%- if claim.validity == true -%} {%- assign validity_status = "true" -%} {%- assign validity_color = 'success' -%} {%- elsif claim.validity == false -%} {%- assign validity_status = "fud" -%} {%- assign validity_color = 'danger' -%} {%- endif -%} {%- assign words = claim.title | split: " " -%} {%- assign title = "" -%} {%- assign excluded_words = "at,off,by,on,for,in,to,of,and,the,as,but,if,nor" | split: "," -%} {%- for word in words -%} {%- if excluded_words contains word and forloop.index > 1 -%} {%- assign title = title | append: " " | append: word -%} {%- else -%} {%- assign capitalized = word | capitalize -%} {%- assign title = title | append: " " | append: capitalized -%} {%- endif -%} {%- endfor -%} {%- assign title = title | strip -%}

{{validity_status}} {{claim.title}} {{site.data.icons.link}}

{%- endif -%} {%- endfor -%}

No results found, try simplifying your search