Skip to content

Commit

Permalink
fix inconsistent alignment for latest posts (alshedivat#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
YifanJiang233 authored and smeznar committed Dec 9, 2023
1 parent 12127bc commit 726f38a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/latest_posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% endif %}
{% for item in latest_posts limit: latest_posts_limit %}
<tr>
<th scope="row">{{ item.date | date: "%b %-d, %Y" }}</th>
<th scope="row" style="width: 20%">{{ item.date | date: "%b %-d, %Y" }}</th>
<td>
{% if item.redirect == blank %}
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
Expand Down
2 changes: 1 addition & 1 deletion _includes/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% endif %}
{% for item in news limit: news_limit %}
<tr>
<th scope="row">{{ item.date | date: "%b %-d, %Y" }}</th>
<th scope="row" style="width: 20%">{{ item.date | date: "%b %-d, %Y" }}</th>
<td>
{% if item.inline -%}
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
Expand Down

0 comments on commit 726f38a

Please sign in to comment.