Some Jekyll fixes (#2277)

This commit is contained in:
Alex Beregszaszi 2019-09-19 15:39:06 +01:00 committed by Nick Savers
parent bb73522df9
commit d49550f302
3 changed files with 7 additions and 1 deletions

View File

@ -61,3 +61,6 @@ exclude:
- vendor/gems/
- vendor/ruby/
- eip-template.md
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- README.md

View File

@ -11,7 +11,7 @@
{% assign eips = include.eips|where:"status",status|sort:"eip" %}
{% assign count = eips|size %}
{% if count > 0 %}
<h2>{{status}}</h2>
<h2 id="{{status|slugify}}">{{status}}</h2>
<table class="eiptable">
<thead>
<tr><th class="eipnum">Number</th><th class="title">Title</th><th class="author">Author</th></tr>

View File

@ -22,6 +22,9 @@ layout: default
<tr><th>Category</th><td>{{ page.category | xml_escape }}</td></tr>
{% endif %}
<tr><th>Created</th><td>{{ page.created | xml_escape }}</td></tr>
{% if page.updated != undefined %}
<tr><th>Updated</th><td>{{ page.updated | xml_escape }}</td></tr>
{% endif %}
{% if page.requires != undefined %}
<tr><th>Requires</th><td>{% include eipnums.html eips=page.requires %}</td></tr>
{% endif %}