First commit

This commit is contained in:
Andros Fenollosa
2022-05-15 20:58:36 +02:00
commit 96b4a45f1d
167 changed files with 31526 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{% if not is_last_page %}
<button class="button" id="paginator" data-next-page="{{ next_page }}">More posts</button>
{% endif %}

View File

@ -0,0 +1,4 @@
<form id="search-form" action="">
{{ form.search }}
<input class="button" type="submit" value="Search">
</form>

View File

@ -0,0 +1,14 @@
{% for post in posts %}
<article>
<header>
<h2>{{ post.title }}</h2>
</header>
<p>{{ post.summary }}</p>
<p>{{ post.author }}</p>
<footer>
<p>
<a class="post-item__link" href="#" data-page="single post" data-id="{{ post.id }}">Read more</a>
</p>
</footer>
</article>
{% endfor %}