lynnesbian.space/_layouts/project.html

18 lines
No EOL
567 B
HTML

---
layout: default
---
<h1>{{ page.name }}</h1>
<div class='subheading-links'>
{% if page.source %}<a href='{{ project.source }}'>Source code</a>{% endif %}
{% if page.website %}<a href='{{ project.website }}'>Website</a>{% endif %}
</div>
{{ content | rstrip | default: "There's nothing here yet." }}
{% if page.screenshots -%}
<h2>Screenshots</h2>
<div id='screenshots'>
{%- for screenshot in page.screenshots -%}
{%- assign link = '/assets/img/' | append: screenshot -%}
<a href='{{ link }}'><img src='{{ link }}'></a>
{%- endfor -%}
</div>
{% endif %}