feat: Update blog
- Change blog from njk to liquid - Update content
This commit is contained in:
parent
2091dc4f30
commit
a7431ec85d
3 changed files with 33 additions and 52 deletions
32
source/screens/demo/examples/blog.liquid
Normal file
32
source/screens/demo/examples/blog.liquid
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: Blog
|
||||
tags:
|
||||
- demoExample
|
||||
---
|
||||
{% layout 'hippie/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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue