File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<div class =" news" >
2
- {% if site .latest_posts != blank %}
2
+ {% if page .latest_posts != blank %}
3
3
{% assign latest_posts_size = site .posts | size %}
4
4
<div
5
5
class =" table-responsive"
6
- {% if site .latest_posts.scrollable and latest_posts_size > 3 %}
6
+ {% if page .latest_posts.scrollable and latest_posts_size > 3 %}
7
7
style="max-height: 60vw"
8
8
{% endif %}
9
9
>
10
10
<table class =" table table-sm table-borderless" >
11
11
{% assign latest_posts = site .posts %}
12
- {% if site .latest_posts .limit %}
13
- {% assign latest_posts_limit = site .latest_posts .limit %}
12
+ {% if page .latest_posts .limit %}
13
+ {% assign latest_posts_limit = page .latest_posts .limit %}
14
14
{% else %}
15
15
{% assign latest_posts_limit = latest_posts_size %}
16
16
{% endif %}
You can’t perform that action at this time.
0 commit comments