1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 16:14:16 +02:00

Flextype Slim Integration - next round of integration

This commit is contained in:
Awilum
2019-02-24 01:26:06 +03:00
parent ff60226e99
commit 205bc95ed3
2 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,5 @@
{% extends "themes/default/templates/partials/base.html" %}
{% block content %}
<h1>{{ entry.title }}</h1>
<p class="important">
{{ entry.content }}
</p>
{{ entry.content }}
{% endblock %}

View File

@@ -5,9 +5,13 @@
{{ entry.content|raw }}
{% for entry in entries_fetch_all('blog', 'date', 'DESC', 0, 3) %}
<h3>{{ entry.title }}</h3>
<p>{{ entry.summary|raw }}</p>
<div>{{ entry.date }}</div>
<a href="{{ entry.slug }}" class="blog-post">
<h3>{{ entry.title }}</h3>
<p>{{ entry.summary|raw }}</p>
<div>{{ entry.date }}</div>
</a>
{% endfor %}
<a href="./blog" class="blog-read">Read the rest of the blog</a>
{% endblock %}