lynnesbian.space/_layouts/project.html

18 lines
567 B
HTML
Raw Normal View History

---
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 %}