We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698dc5c commit c0317dcCopy full SHA for c0317dc
templates/blog_list/blog_list.html
@@ -4,17 +4,11 @@
4
Latest Blogs
5
{% endblock %}
6
7
-{% block content %}
8
-
9
- <div class="container mt-5 mb-5">
10
- {% if blog_list %}
11
12
- <!-- Main Layout -->
13
- <main class="row">
14
15
- <!-- First Col -->
16
- <!-- the end tag for this div won't show because we have an extra div tag in condition -->
17
- <div class="col-md-9 container">
+
+ {% block content %}
+ {% if blog_list %}
18
19
<div class="row">
20
{% for blog in blog_list %}
@@ -58,25 +52,7 @@ <h4 class="card-title">{{ blog.title|title }}</h4>
58
52
{% endfor %}
59
53
</div>
60
54
61
- </div>
62
63
64
- <!-- /First Col -->
65
66
- <!-- Second Col -->
67
- <div class="col-md-3 container">
68
69
- <h1>SIDEBAR OPTIONS WILL COME HERE</h1>
70
71
72
- <!-- /Second Col -->
73
74
- </main>
75
- <!-- /Main Layout -->
76
77
- {% else %}
78
79
- {% endif %}
80
81
82
-{% endblock content %}
55
+ {% else %}
56
+ <h1>No Blogs are available.</h1>
57
+ {% endif %}
+ {% endblock content %}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments