Skip to content

Commit a5a4fb0

Browse files
committed
Tidy up liquid
1 parent 0182771 commit a5a4fb0

File tree

9 files changed

+6
-7
lines changed

9 files changed

+6
-7
lines changed

_includes/business-card.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<p class="title is-size-5">{{ person.name }}</p>
1515
<div class="subtitle is-6 has-text-weight-semibold is-marginless-bottom">{{ person.title | markdown | safe }}</div>
1616
<div>
17-
{%- include social-links.liquid -%}
17+
{%- include social-links -%}
1818
</div>
1919
</div>
2020
</div>

_layouts/meetup.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ layout: base
2929

3030
{%- for person in speakers -%}
3131
<div class="has-offset-top">
32-
{%- include business-card.liquid -%}
32+
{%- include business-card -%}
3333
</div>
3434
{%- endfor -%}
3535
</div>
@@ -76,4 +76,4 @@ layout: base
7676

7777
{%- assign nextPost = collections.meetups | getNextCollectionItem: page -%}
7878
{%- assign previousPost = collections.meetups | getPreviousCollectionItem: page -%}
79-
{%- include nav-posts.liquid -%}
79+
{%- include nav-posts -%}

_layouts/post.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ layout: base
1313

1414
{%- assign nextPost = collections.posts | getNextCollectionItem: page -%}
1515
{%- assign previousPost = collections.posts | getPreviousCollectionItem: page -%}
16-
{%- include nav-posts.liquid -%}
16+
{%- include nav-posts -%}
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h2 class="is-sr-only">Organizers</h2>
7676
{%- assign person = key[1] -%}
7777
{%- if person.status == 'active' -%}
7878
<div class="brick">
79-
{%- include business-card.liquid -%}
79+
{%- include business-card, size: 'small' -%}
8080
</div>
8181
{%- endif -%}
8282
{%- endfor -%}
File renamed without changes.

posts.liquid renamed to posts.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ <h1>{{ title }}</h1>
99
<p>{{ meta.description }}</p>
1010

1111
<ul>
12-
{%- assign posts = collections.posts | reverse -%}
13-
{%- for post in posts -%}
12+
{%- for post in collections.posts reversed -%}
1413
<li>
1514
<a href="{{ post.url | url }}">
1615
{{ post.inputPath | replace: './_meetups/', '' | replace: './_posts/', '' | slice: 0, 10 }}:
File renamed without changes.

0 commit comments

Comments
 (0)