Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,20 @@ a.btn:focus {
margin: auto;
}

.post-links>ul {
.post .read-more {
margin-top: 25px;
}

.post-excerpt {
margin-top: 1rem;
}

.post-excerpt>ul {
list-style-type: none;
padding-left: 0;
}

.post-links>ul>li {
.post-excerpt>ul>li {
margin-bottom: 15px;
}

Expand Down
12 changes: 5 additions & 7 deletions news.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,17 @@ <h1>QuTiP News</h1>
<hr>

{% for p in site.posts %}
<div id="{{ p.slug }}" class="row" style='margin-bottom: 15px'>
<div class="col-md-8">
<div id="{{ p.slug }}" class="post row" style='margin-bottom: 15px'>
<div>
<p>{{ p.date | date_to_string: "ordinal", "US" }}</p>
<h4>{{ p.title }}</h4>
<div class="post-excerpt">
{{ p.excerpt }}
</div>
{% if p.readmore %}
<a href="{{ p.url }}"><p>Read More</p></a>
{% endif %}
</div>
<div class="col-md-4" style='margin-top: 25px'>
<div class="post-links">
{{ p.excerpt }}
</div>
</div>
</div>
<hr>
{% endfor %}
Expand Down