File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -269,12 +269,20 @@ a.btn:focus {
269269 margin : auto;
270270}
271271
272- .post-links > ul {
272+ .post .read-more {
273+ margin-top : 25px ;
274+ }
275+
276+ .post-excerpt {
277+ margin-top : 1rem ;
278+ }
279+
280+ .post-excerpt > ul {
273281 list-style-type : none;
274282 padding-left : 0 ;
275283}
276284
277- .post-links > ul > li {
285+ .post-excerpt > ul > li {
278286 margin-bottom : 15px ;
279287}
280288
Original file line number Diff line number Diff line change @@ -7,19 +7,17 @@ <h1>QuTiP News</h1>
77< hr >
88
99{% for p in site.posts %}
10- < div id ="{{ p.slug }} " class ="row " style ='margin-bottom: 15px '>
11- < div class =" col-md-8 " >
10+ < div id ="{{ p.slug }} " class ="post row " style ='margin-bottom: 15px '>
11+ < div >
1212 < p > {{ p.date | date_to_string: "ordinal", "US" }}</ p >
1313 < h4 > {{ p.title }}</ h4 >
14+ < div class ="post-excerpt ">
15+ {{ p.excerpt }}
16+ </ div >
1417 {% if p.readmore %}
1518 < a href ="{{ p.url }} "> < p > Read More</ p > </ a >
1619 {% endif %}
1720 </ div >
18- < div class ="col-md-4 " style ='margin-top: 25px '>
19- < div class ="post-links ">
20- {{ p.excerpt }}
21- </ div >
22- </ div >
2321 </ div >
2422< hr >
2523{% endfor %}
You can’t perform that action at this time.
0 commit comments