Skip to content

Commit

Permalink
reformat list of talks
Browse files Browse the repository at this point in the history
  • Loading branch information
cangiuli committed Oct 12, 2023
1 parent 75df6a0 commit e1bd6ab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ th:first-child, td:first-child {
th {
text-align: left;
}
.recent-talk:not(:last-child) {
margin-bottom: 5px;
}
.recent-talk a {
font-weight: bold;
}
.recent-talk .date {
color: $grey-color;
}

// Using media queries with like this:
// @include media-query($on-palm) {
Expand Down
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,17 +490,17 @@ <h2>Weekly meetings</h2>
</table>
-->

<br /><br />

<h2>Recent Talks</h2>

<ul class="post-list">
<ul id="recent-talk-list">
{% for post in paginator.posts %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
{{ post.date | date: "%Y.%m.%-d." }}
<li class="recent-talk">
{{ post.authors }} &mdash;
<a href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}</a>
<small>{{ post.authors }}</small>
</h2>
<span class="date">{{ post.date | date: "(%m/%d/%Y)" }}</span>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit e1bd6ab

Please sign in to comment.