hippie/source/view/demo/examples/blog.liquid
sthag bffa82030b feat: Replace directory for includes with submodule
Create new repository hippie-view for _includes.
2026-04-23 21:51:35 +02:00

32 lines
No EOL
614 B
Text

---
title: Blog
tags:
- demoExample
---
{% layout 'hippie-view/simple.liquid' %}
{% block body %}
<div class="sec_main_center">
<header class="header_txt">
<h1>Blog</h1>
</header>
<nav role="doc-toc">
<h2>Inhaltsverzeichnis</h2>
<ul>
{%- for blog in collections.blog -%}
<li>
<a href="{{ blog.page.url }}">{{ blog.data.title }}</a>
</li>
{%- endfor -%}
</ul>
</nav>
<hr class="double dotted">
{%- for post in collections.article -%}
<article>
{{ post.content }}
</article>
{%- endfor -%}
<hr/>
<address>{% text hippie.placeholders.name %}</address>
</div>
{% endblock %}