home1.html (1341B) download
1{% extends "layout.html" %}
2{% block content %}
3 {% for language in language.items %}
4 <article class="media content-section">
5 <!-- <img class="rounded-circle article-img" src="{{ url_for('static', filename='profile_pics/' + post.author.image_file) }}">-->
6 <div class="media-body">
7 <div class="article-metadata">
8 <!--<a class="mr-2" href="{{ url_for('user_posts', username=language.author.username)}}">{{ post.author.username }}</a>
9 <small class="text-muted">{{ post.date_posted.strftime('%Y-%m-%d') }}</small>-->
10 </div>
11 <!--<h2><a class="article-title" href="{{ url_for('post', post_id=post.id) }}">{{ post.title }}</a></h2>-->
12 <!--<p class="article-content">{{ post.content }}</p>-->
13 </div>
14 </article>
15 {% endfor %}
16 <!--{% for page_num in posts.iter_pages(left_edge=1, right_edge=1, left_current=1, right_current=2) %}
17 {% if page_num %}
18 {% if posts.page == page_num%}
19 <a class="btn btn-info mb-4"href="{{url_for('home', page=page_num)}}">{{page_num}}</a>
20 {% else %}
21 <a class="btn btn-outline-info mb-4"href="{{url_for('home', page=page_num)}}">{{page_num}}</a>
22 {% endif %}
23 {% else %}
24 ...
25 {% endif %}
26 {% endfor %}-->
27{% endblock content %}