Merge pull #1193: Upgrade to Jekyll 3.x

This commit is contained in:
David A. Harding 2016-01-16 09:00:54 -05:00
commit 2b8c4c2cc9
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
62 changed files with 194 additions and 247 deletions

View file

@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- Bitcoin Core
---
{% assign date_sorted_releases = site.releases | sort: 'optional_date', 'last' %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
# Bitcoin Core
@ -85,9 +86,9 @@ breadcrumbs:
{% comment %}<!-- Capture all the releases into a string and convert it to an array -->{% endcomment %}
{% capture text_releases %}
{% filter_for p in site.pages reversed sort_by:versionint category:release %}
{% for p in date_sorted_releases reversed %}
{% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>::
{% endfilter_for %}
{% endfor %}
{% endcapture %}
{% assign array_releases = text_releases | strip_newlines | split: '::' %}