Add basic quotes functionality

This commit is contained in:
Pedro Rey Anca 2024-12-03 00:11:42 +01:00
parent f8533fc819
commit b9775ca672
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
12 changed files with 166 additions and 11 deletions

View file

@ -0,0 +1,17 @@
{% extends 'main/base.html' %}
{% block content %}
<div class="mt-5 container justify-content-center d-flex">
<div class="card text-center" style="width: 80rem;">
<div class="card-body">
<blockquote class="blockquote mb-0">
<h1>"{{ quote.text }}"</h1>
<footer class="blockquote-footer">
<h2>{{ quote.author.name }}</h2>
</footer>
</blockquote>
</div>
</div>
</div>
{% endblock %}