Skip to content

Commit

Permalink
added english language filter to publications page
Browse files Browse the repository at this point in the history
  • Loading branch information
bitschmidty committed Oct 31, 2019
1 parent d53a8ce commit ba22ddd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion en/publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ Recent publications from our [blog posts][] and [newsletters][].
[blog posts]: /en/blog/
[newsletters]: /en/newsletters/

{% assign posts_en = site.posts | where:"lang","en" %}

<ul class="post-list">
{%- for post in site.posts limit:20 -%}
{%- for post in posts_en limit:20 -%}
<li>
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta">{{ post.date | date: date_format }}</span>
Expand Down

0 comments on commit ba22ddd

Please sign in to comment.