fix inconsistent alignment for latest posts (#1832)
This commit is contained in:
parent
324814543a
commit
7eb1cccf4e
|
|
@ -12,7 +12,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for item in latest_posts limit: latest_posts_limit %}
|
{% for item in latest_posts limit: latest_posts_limit %}
|
||||||
<tr>
|
<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>
|
<td>
|
||||||
{% if item.redirect == blank %}
|
{% if item.redirect == blank %}
|
||||||
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
<a class="news-title" href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for item in news limit: news_limit %}
|
{% for item in news limit: news_limit %}
|
||||||
<tr>
|
<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>
|
<td>
|
||||||
{% if item.inline -%}
|
{% if item.inline -%}
|
||||||
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
|
{{ item.content | remove: '<p>' | remove: '</p>' | emojify }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue