townforge.net/_layouts/home.html
2020-05-26 12:11:36 +00:00

31 lines
570 B
HTML

---
layout: default
---
<div class="home">
{{ content }}
{% assign posts = site.data.main %}
{%- if posts.size > 0 -%}
<div class="box home-box">
<div class="post-list">
{%- for post in posts -%}
<div class="main-point">
<div class="main-point-image">
<img src="{{post.image | relative_url}}">
</div>
<div class="main-point-text">
{{post.text}}
</div>
</div>
<br>
{%- endfor -%}
</div>
</div>
{%- endif -%}
</div>