mirror of
https://github.com/jwinterm/tubbymemes.git
synced 2026-10-17 05:21:28 +02:00
leave note if no memes yet
This commit is contained in:
@@ -20,7 +20,7 @@ bp = Blueprint('meme', 'meme')
|
||||
def index():
|
||||
memes = Meme.query.filter(
|
||||
Meme.approved == True
|
||||
).order_by(Meme.create_date.desc())
|
||||
).order_by(Meme.create_date.desc()).all()
|
||||
return render_template('index.html', memes=memes)
|
||||
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p class="subtitle">No memes approved yet brah!</p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user