Skip to content

Latest commit

 

History

History
148 lines (137 loc) · 2.86 KB

posts.md

File metadata and controls

148 lines (137 loc) · 2.86 KB
layout title description templateEngineOverride
pagelayout.njk
📝 Posts
Where I'll post any thoughts, when I get around to writing them.
njk,md

{% set newline = "\n" %} {% set space = " " %}

Thoughts on code, robots, D&D, and life, delivered at random.

DM's Log: Supplemental

{%- for post in collections.dms_log | reverse -%} {%- if loop.index0 % 2 == 0 -%} {{newline}}

{{newline}} {%- endif -%} {{newline}}
{{ newline }} {%- if post.data.headerimage -%}
{{newline}} [!["{{post.data.title}}" Header Image]({{post.data.headerimage}}#responsivemedium)]({{post.url}}) {{newline}}
{{newline}} {%- endif -%} {{newline}}
{{newline}} ### [ {{ post.data.title }} ]( {{post.url}} ) {{newline}} Tags:{{space}} {%- for tag in post.data.tags -%} {{ tag }},{{space}} {%- endfor -%} {{newline}} {{ post.data.description }} {{newline}}
{{newline}} {%- if (loop.index0 % 2 == 1) or loop.last -%} {{newline}}
{{newline}} {%- endif -%} {%- endfor -%}

{{newline}}

Adventures in Tech Series

{%- for post in collections.Adventures_in_Tech | reverse -%} {%- if loop.index0 % 2 == 0 -%} {{newline}}

{{newline}} {%- endif -%} {{newline}}
{{ newline }} {%- if post.data.headerimage -%}
{{newline}} [!["{{post.data.title}}" Header Image]({{post.data.headerimage}}#responsivemedium)]({{post.url}}) {{newline}}
{{newline}} {%- endif -%} {{newline}}
{{newline}} ### [ {{ post.data.title }} ]( {{post.url}} ) {{newline}} Tags:{{space}} {%- for tag in post.data.tags -%} {{ tag }},{{space}} {%- endfor -%} {{newline}} {{ post.data.description }} {{newline}}
{{newline}} {%- if (loop.index0 % 2 == 1) or loop.last -%} {{newline}}
{{newline}} {%- endif -%} {%- endfor -%}

{{newline}}

Posts on Dev

{%- for post in collections.dev | reverse -%} {%- if loop.index0 % 2 == 0 -%} {{newline}}

{{newline}} {%- endif -%} {{newline}}
{{ newline }} {%- if post.data.headerimage -%}
{{newline}} [!["{{post.data.title}}" Header Image]({{post.data.headerimage}}#responsivemedium)]({{post.url}}) {{newline}}
{{newline}} {%- endif -%} {{newline}}
{{newline}} ### [ {{ post.data.title }} ]( {{post.url}} ) {{newline}} Tags:{{space}} {%- for tag in post.data.tags -%} {{ tag }},{{space}} {%- endfor -%} {{newline}} {{ post.data.description }} {{newline}}
{{newline}} {%- if (loop.index0 % 2 == 1) or loop.last -%} {{newline}}
{{newline}} {%- endif -%} {%- endfor -%}